[Webkit-unassigned] [Bug 213383] -Wsign-compare in isValidOptionSet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 09:35:11 PDT 2020


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org

--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Since this is a bitwise comparison, and we don't normally want to use signed types for bitwise comparisons, we probably want to cast allValidBitsValue on the right side of the expression to unsigned. I think that can be done using std::make_unsigned. Testing this....

-- 
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/20200619/b38368b0/attachment.htm>


More information about the webkit-unassigned mailing list