From c342f77f24b901d0779b8358b49d166a24198a0c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 13 Oct 2004 18:49:56 +0000 Subject: [PATCH] fixed arg number in buffer third arg git-svn-id: http://svn.osgeo.org/postgis/trunk@994 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_geos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwgeom/lwgeom_geos.c b/lwgeom/lwgeom_geos.c index 80c1df111..c6d656147 100644 --- a/lwgeom/lwgeom_geos.c +++ b/lwgeom/lwgeom_geos.c @@ -560,7 +560,7 @@ Datum buffer(PG_FUNCTION_ARGS) geom1 = (PG_LWGEOM *) PG_DETOAST_DATUM(PG_GETARG_DATUM(0)); size = PG_GETARG_FLOAT8(1); - if ( PG_NARGS() > 2 ) quadsegs = PG_GETARG_INT32(3); + if ( PG_NARGS() > 2 ) quadsegs = PG_GETARG_INT32(2); initGEOS(MAXIMUM_ALIGNOF); -- 2.40.0