X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=third-party%2Fglyphy%2Fglyphy-geometry.hh;h=bf76761513b23f0bbe5898682e72c242506b1bf6;hb=904321f60150b5567fd3ad5aedf7b55e568aa861;hp=c9b26efbdc56ab7e5bfd943e5b90bbf171daa2a1;hpb=761f75cd51351b7a4e072130f4a2ad0b3e3231bb;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/third-party/glyphy/glyphy-geometry.hh b/third-party/glyphy/glyphy-geometry.hh index c9b26ef..bf76761 100644 --- a/third-party/glyphy/glyphy-geometry.hh +++ b/third-party/glyphy/glyphy-geometry.hh @@ -588,7 +588,10 @@ inline double Arc::extended_dist (const Point &p) const { Point m = p0.lerp (.5, p1); Vector dp = p1 - p0; Vector pp = dp.ortho (); - float d2 = tan2atan (d); + /* + * In the original file, there was no explicit cast to float. + */ + float d2 = static_cast( tan2atan (d) ); if ((p - m) * (p1 - m) < 0) return (p - p0) * (pp + dp * d2).normalized (); else