View | Details | Raw Unified | Return to bug 209686
Collapse All | Expand All

(-)www/webkit2-gtk3/files/patch-Source_WebCore_rendering_shapes_BoxShape.cpp (+11 lines)
Line 0 Link Here
1
--- Source/WebCore/rendering/shapes/BoxShape.cpp.orig	2015-07-22 12:37:57 UTC
2
+++ Source/WebCore/rendering/shapes/BoxShape.cpp
3
@@ -43,7 +43,7 @@ static inline LayoutUnit adjustRadiusFor
4
 
5
     LayoutUnit ratio = radius / margin;
6
     if (ratio < 1)
7
-        return radius + (margin * (1 + pow(ratio - 1, 3)));
8
+        return radius + (margin * (1 + pow(static_cast<float>(ratio) - 1, 3)));
9
 
10
     return radius + margin;
11
 }

Return to bug 209686