]> granicus.if.org Git - postgis/commitdiff
Fix compilation bug when debug is enabled.
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 6 Oct 2009 10:49:44 +0000 (10:49 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 6 Oct 2009 10:49:44 +0000 (10:49 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4605 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeodetic.c

index 214f63345dfb8101a1f5006d275ac0376953c23f..d0cae18eae647868e269a4cfbac5e294304e5129 100644 (file)
@@ -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) )