From 488412eb370f8a7acc27e001a50094ce81d7e4f7 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 20 Apr 2012 03:28:42 +0000 Subject: [PATCH] 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 --- liblwgeom/lwgeom_geos_clean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0