[Webkit-unassigned] [Bug 236014] [JSC] Remove compiler warning in TrailingArray.h
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 2 11:04:04 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236014
Yusuke Suzuki <ysuzuki at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ysuzuki at apple.com
--- Comment #2 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 450642
--> https://bugs.webkit.org/attachment.cgi?id=450642
v1
View in context: https://bugs.webkit.org/attachment.cgi?id=450642&action=review
> Source/WTF/wtf/TrailingArray.h:69
> + ASSERT(std::abs(std::distance(first, last)) == size);
I think `static_cast<size_t>(std::distance(first, last))` is better.
--
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/20220202/7eb2a952/attachment.htm>
More information about the webkit-unassigned
mailing list