Title: [126153] trunk/Source/WTF
- Revision
- 126153
- Author
- [email protected]
- Date
- 2012-08-21 06:22:38 -0700 (Tue, 21 Aug 2012)
Log Message
Build fix for COMPILER(MSVC) && !CPU(X86) after r126023.
* wtf/MathExtras.h:
(lrint):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (126152 => 126153)
--- trunk/Source/WTF/ChangeLog 2012-08-21 12:50:18 UTC (rev 126152)
+++ trunk/Source/WTF/ChangeLog 2012-08-21 13:22:38 UTC (rev 126153)
@@ -1,3 +1,10 @@
+2012-08-21 Patrick Gansterer <[email protected]>
+
+ Build fix for COMPILER(MSVC) && !CPU(X86) after r126023.
+
+ * wtf/MathExtras.h:
+ (lrint):
+
2012-08-20 Dominik Röttsches <[email protected]>
The 2d.imageData.object.round canvas test is failing
Modified: trunk/Source/WTF/wtf/MathExtras.h (126152 => 126153)
--- trunk/Source/WTF/wtf/MathExtras.h 2012-08-21 12:50:18 UTC (rev 126152)
+++ trunk/Source/WTF/wtf/MathExtras.h 2012-08-21 13:22:38 UTC (rev 126153)
@@ -213,7 +213,7 @@
};
#else
#pragma message("Falling back to casting for lrint(), causes rounding inaccuracy in halfway case.")
- intgr = static_cast<int>flt;
+ intgr = static_cast<int>(flt);
#endif
return intgr;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes