[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
Wed Dec 4 20:14:25 PST 2019


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This can be solved by

1. storageAccessGranted ? "0" : "1"
2. unsigned(storageAccessGranted)
3. Change makeString to explitly accept bool type

#3 seems better for MSVC.

-- 
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/98dc90d6/attachment.htm>


More information about the webkit-unassigned mailing list