From: Paul Ramsey Date: Fri, 20 Apr 2012 03:28:42 +0000 (+0000) Subject: Fix incorrect call to geom->type where geom->flags is needed X-Git-Tag: 2.0.1~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=488412eb370f8a7acc27e001a50094ce81d7e4f7;p=postgis Fix incorrect call to geom->type where geom->flags is needed git-svn-id: http://svn.osgeo.org/postgis/trunk@9651 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeom_geos_clean.c b/liblwgeom/lwgeom_geos_clean.c index 88aeb9ad7..baec976ca 100644 --- a/liblwgeom/lwgeom_geos_clean.c +++ b/liblwgeom/lwgeom_geos_clean.c @@ -888,7 +888,7 @@ lwgeom_make_valid(LWGEOM* lwgeom_in) GEOSGeometry* geosout; LWGEOM *lwgeom_out; - is3d = FLAGS_GET_Z(lwgeom_in->type); + is3d = FLAGS_GET_Z(lwgeom_in->flags); /* * Step 1 : try to convert to GEOS, if impossible, clean that up first