[Webkit-unassigned] [Bug 106239] New: LayoutUnit(unsigned long long value) compile failure
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 7 11:43:24 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106239
Summary: LayoutUnit(unsigned long long value) compile failure
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric.carlson at apple.com
CC: rniwa at webkit.org, webkit-bug-importer at group.apple.com
The LayoutUnit constructor which takes an unsigned long long fails to compile on some platforms when SATURATED_LAYOUT_ARITHMETIC is not defined because storing the result of ('unsigned long long' * 'int') into an int loses precision:
Source/WebCore/platform/LayoutUnit.h:89:25: error: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Werror,-Wshorten-64-to-32]
m_value = value * kEffectiveFixedPointDenominator;
~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list