From c942d53e1838ed1f65eec7f8532ac486e73ec4fb Mon Sep 17 00:00:00 2001 From: Markus Schaber Date: Wed, 25 Oct 2006 10:23:00 +0000 Subject: [PATCH] fixed CAPI change that broke 64-bit platforms git-svn-id: http://svn.osgeo.org/postgis/trunk@2518 b70326c6-7e19-0410-871a-916f4a2858ee --- CHANGES | 1 + lwgeom/lwgeom_geos_c.c | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 8369da611..646cac3d9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,6 @@ PostGIS 1.1.6-CVS + - fixed CAPI change that broke 64-bit platforms - use Z ordinate in reprojections - spatial_ref_sys.sql updated to EPSG 6.11.1 - Simplified Version.config infrastructure to use a single diff --git a/lwgeom/lwgeom_geos_c.c b/lwgeom/lwgeom_geos_c.c index c580b86d6..7ad2c7011 100644 --- a/lwgeom/lwgeom_geos_c.c +++ b/lwgeom/lwgeom_geos_c.c @@ -2240,9 +2240,8 @@ GEOS2POSTGIS(GEOSGeom geom, char want3d) POINTARRAY * ptarray_from_GEOSCoordSeq(GEOSCoordSeq cs, char want3d) { - size_t dims=2; - size_t size; - unsigned int i, ptsize; + unsigned int dims=2; + unsigned int size, i, ptsize; uchar *points, *ptr; POINTARRAY *ret; -- 2.49.0