[Webkit-unassigned] [Bug 204870] [MSVC] WebResourceLoadStatisticsStore.h is reporting warning C4804: '/': unsafe use of type 'bool' in operation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 5 07:33:48 PST 2019


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com

--- Comment #4 from Darin Adler <darin at apple.com> ---
I suggest doing (1) for now. Or could do this more efficient version:

    storageAccessGranted ? '0' : '1'

Then I suggest we consider either adding support for bool or disabling use of bool in makeString. But I don’t think a bool should necessarily serialize as "0"/"1".

-- 
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/20191205/1ecce156/attachment-0001.htm>


More information about the webkit-unassigned mailing list