[Webkit-unassigned] [Bug 213972] New: [WTF] Implicit int to float conversion warning with clang 10
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 5 05:32:32 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213972
Bug ID: 213972
Summary: [WTF] Implicit int to float conversion warning with
clang 10
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pnormand at igalia.com
DerivedSources/ForwardingHeaders/wtf/CheckedArithmetic.h:829:58: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
if (!(std::numeric_limits<T>::min() <= result && std::numeric_limits<T>::max() >= result))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
../Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:511:10: note: in instantiation of member function 'WTF::Checked<unsigned long, WTF::RecordOverflow>::operator/=' requested here
size /= 10.5;
^
1 warning generated.
--
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/20200705/ff14a74d/attachment.htm>
More information about the webkit-unassigned
mailing list