[Webkit-unassigned] [Bug 253272] s_maxSize should be 'unsigned' rather than 'int' in WidthCache.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 4 18:37:54 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253272

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Just noticed that above - https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/WidthCache.h#204

There is this as well, where size() is unsigned in HashMap.h:

m_map.size() < s_maxSize

https://searchfox.org/wubkat/source/Source/WTF/wtf/HashMap.h#267

So we are comparing 'unsigned' with 'int'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230305/8f8ca5a9/attachment.htm>


More information about the webkit-unassigned mailing list