Try fixing the build.
* platform/graphics/IntRect.cpp:
(WebCore::IntRect::IntRect):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17904
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-11-27 Anders Carlsson <acarlsson@apple.com>
+
+ Try fixing the build.
+
+ * platform/graphics/IntRect.cpp:
+ (WebCore::IntRect::IntRect):
+
2006-11-27 Beth Dakin <bdakin@apple.com>
Reviewed by Adam.
namespace WebCore {
IntRect::IntRect(const FloatRect& r)
- : m_location(IntPoint(r.x(), r.y()))
- , m_size(IntSize(r.width(), r.height()))
+ : m_location(IntPoint(static_cast<int>(r.x()), static_cast<int>(r.y())))
+ , m_size(IntSize(static_cast<int>(r.width()), static_cast<int>(r.height())))
{
}