[Webkit-unassigned] [Bug 204834] Clang 10 reports a compilation warning for doubleToInteger in MathExtras.h: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 3 20:25:39 PST 2019


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
More warnings: 

> [20/129] Building CXX object Source\WTF\wtf\CMakeFiles\WTF.dir\MediaTime.cpp.obj
> ..\..\Source\WTF\wtf\MediaTime.cpp(117,21): warning: implicit conversion from 'long long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
>     if (floatTime > std::numeric_limits<int64_t>::max())
>                   ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ..\..\Source\WTF\wtf\MediaTime.cpp(124,36): warning: implicit conversion from 'long long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
>     while (floatTime * timeScale > std::numeric_limits<int64_t>::max())
>                                  ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ..\..\Source\WTF\wtf\MediaTime.cpp(147,22): warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
>     if (doubleTime > std::numeric_limits<int64_t>::max())
>                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ..\..\Source\WTF\wtf\MediaTime.cpp(154,37): warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
>     while (doubleTime * timeScale > std::numeric_limits<int64_t>::max())
>                                   ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 4 warnings 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/20191204/711a7e57/attachment.htm>


More information about the webkit-unassigned mailing list