[Webkit-unassigned] [Bug 213972] [WTF] Implicit int to float conversion warning with clang 10

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 17 13:36:18 PDT 2021


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

--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
(In reply to Philippe Normand from comment #1)
> Another one:
> 
> In file included from DerivedSources/WebCore/StyleBuilderGenerated.cpp:10:
> ../Source/WebCore/style/StyleBuilderConverter.h:1197:97: warning: implicit
> conversion from 'const int' to 'float' changes value from 33554429 to
> 33554428 [-Wimplicit-int-float-conversion]
>         wordSpacing = Length(clampTo<float>(primitiveValue.doubleValue(),
> minValueForCssLength, maxValueForCssLength), Percent);
>                              ~~~~~~~                                        
> ^~~~~~~~~~~~~~~~~~~~
> 1 warning generated.

This was fixed by r276205.
Bug 224714 – [clang 11] Remove warning when converting WebCore::maxValueForCssLength from int to float

-- 
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/20210417/9f96a84f/attachment-0001.htm>


More information about the webkit-unassigned mailing list