From: Paul Ramsey Date: Fri, 29 Mar 2019 21:18:25 +0000 (+0000) Subject: Formatting :/ X-Git-Tag: 3.0.0alpha1~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a408adec90a56c4ced4580cd0ddba43cbefd8a9;p=postgis Formatting :/ git-svn-id: http://svn.osgeo.org/postgis/trunk@17372 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwstroke.c b/liblwgeom/lwstroke.c index 166e86d31..00f407a5c 100644 --- a/liblwgeom/lwstroke.c +++ b/liblwgeom/lwstroke.c @@ -1042,8 +1042,8 @@ pta_unstroke(const POINTARRAY *points, int srid) else { lw_arc_center((POINT2D*)&first, (POINT2D*)&b, (POINT2D*)&a1, (POINT2D*)¢er); angle = lw_arc_angle((POINT2D*)&first, (POINT2D*)¢er, (POINT2D*)&b); - int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b); - if ( p2_side >= 0 ) angle = -angle; + int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b); + if ( p2_side >= 0 ) angle = -angle; if ( angle < 0 ) angle = 2 * M_PI + angle; num_quadrants = ( 4 * angle ) / ( 2 * M_PI );