rlottie: Fix build break
authorsubhransu mohanty <sub.mohanty@samsung.com>
Mon, 24 Jun 2019 06:50:47 +0000 (15:50 +0900)
committerHermet Park <hermetpark@gmail.com>
Tue, 25 Jun 2019 11:59:15 +0000 (20:59 +0900)
src/vector/vpath.cpp

index 1eb8aa6f1ce5ba9b7300e33d1e07cf7457fda048..14f260c7a7b289795d8bf5e21510200fbd77f17d 100644 (file)
@@ -143,7 +143,7 @@ void VPath::VPathData::reserve(size_t pts, size_t elms)
 
 static VPointF curvesForArc(const VRectF &, float, float, VPointF *, size_t *);
 static constexpr float PATH_KAPPA = 0.5522847498f;
-static constexpr float K_PI = M_PIf32;
+static constexpr float K_PI = float(M_PI);
 
 void VPath::VPathData::arcTo(const VRectF &rect, float startAngle,
                              float sweepLength, bool forceMoveTo)