Changeset 138978 in webkit
- Timestamp:
- Jan 7, 2013 12:53:58 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r138977 r138978 1 2013-01-07 Eric Carlson <eric.carlson@apple.com> 2 3 LayoutUnit(unsigned long long value) compile failure 4 https://bugs.webkit.org/show_bug.cgi?id=106239 5 6 Cast the result of ('unsigned long long' * 'int') to an int before storing in m_value 7 to avoid compile failure on some platforms. 8 9 Reviewed by Ryosuke Niwa. 10 11 * platform/LayoutUnit.h: 12 (WebCore::LayoutUnit::LayoutUnit): Cast to int after multiplication. 13 1 14 2013-01-07 Joe Mason <jmason@rim.com> 2 15 -
trunk/Source/WebCore/platform/LayoutUnit.h
r138952 r138978 87 87 #else 88 88 REPORT_OVERFLOW(isInBounds(static_cast<unsigned>(value))); 89 m_value = value * kEffectiveFixedPointDenominator;89 m_value = static_cast<int>(value * kEffectiveFixedPointDenominator); 90 90 #endif 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.