Title: [108239] trunk/Source/WebCore
- Revision
- 108239
- Author
- [email protected]
- Date
- 2012-02-20 06:53:08 -0800 (Mon, 20 Feb 2012)
Log Message
32-bit build fix
* platform/FractionalLayoutUnit.h:
(WebCore::FractionalLayoutUnit::setRawValue): Explicitly cast long long to int, since they
are different widths in 32-bit.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108238 => 108239)
--- trunk/Source/WebCore/ChangeLog 2012-02-20 14:51:17 UTC (rev 108238)
+++ trunk/Source/WebCore/ChangeLog 2012-02-20 14:53:08 UTC (rev 108239)
@@ -1,5 +1,13 @@
2012-02-20 Adam Roben <[email protected]>
+ 32-bit build fix
+
+ * platform/FractionalLayoutUnit.h:
+ (WebCore::FractionalLayoutUnit::setRawValue): Explicitly cast long long to int, since they
+ are different widths in 32-bit.
+
+2012-02-20 Adam Roben <[email protected]>
+
Clang build fix
* inspector/InspectorDOMAgent.cpp:
Modified: trunk/Source/WebCore/platform/FractionalLayoutUnit.h (108238 => 108239)
--- trunk/Source/WebCore/platform/FractionalLayoutUnit.h 2012-02-20 14:51:17 UTC (rev 108238)
+++ trunk/Source/WebCore/platform/FractionalLayoutUnit.h 2012-02-20 14:53:08 UTC (rev 108239)
@@ -67,7 +67,7 @@
inline void setRawValue(long long value)
{
ASSERT(value > std::numeric_limits<int>::min() && value < std::numeric_limits<int>::max());
- m_value = value;
+ m_value = static_cast<int>(value);
}
inline FractionalLayoutUnit abs()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes