From: Mark Cave-Ayland Date: Tue, 6 Oct 2009 10:49:44 +0000 (+0000) Subject: Fix compilation bug when debug is enabled. X-Git-Tag: 1.5.0b1~407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e784b2b786f2f6b8d4228fac29715f70693cd91;p=postgis Fix compilation bug when debug is enabled. git-svn-id: http://svn.osgeo.org/postgis/trunk@4605 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeodetic.c b/liblwgeom/lwgeodetic.c index 214f63345..d0cae18ea 100644 --- a/liblwgeom/lwgeodetic.c +++ b/liblwgeom/lwgeodetic.c @@ -1679,7 +1679,7 @@ int lwpoly_covers_point2d(const LWPOLY *poly, GBOX gbox, POINT2D pt_to_test) LWDEBUGF(4, "pt_outside POINT(%.18g %.18g)", pt_outside.x, pt_outside.y); LWDEBUGF(4, "pt_to_test POINT(%.18g %.18g)", pt_to_test.x, pt_to_test.y); LWDEBUGF(4, "polygon %s", lwgeom_to_ewkt((LWGEOM*)poly, PARSER_CHECK_NONE)); - LWDEBUGF(4, "gbox %s", gbox_to_string(gbox)); + LWDEBUGF(4, "gbox %s", gbox_to_string(&gbox)); /* Not in outer ring? We're done! */ if( ! ptarray_point_in_ring(poly->rings[0], pt_outside, pt_to_test) )