]> granicus.if.org Git - postgis/commitdiff
removed incompatible pointer type warning
authorSandro Santilli <strk@keybit.net>
Wed, 27 Sep 2006 12:37:56 +0000 (12:37 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 27 Sep 2006 12:37:56 +0000 (12:37 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2490 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_geos_c.c

index 7ad2c7011056a34485b5b7aa6d6e55b3197d83c1..c580b86d60194399988866069911f0b97ce7d268 100644 (file)
@@ -2240,8 +2240,9 @@ GEOS2POSTGIS(GEOSGeom geom, char want3d)
 POINTARRAY *
 ptarray_from_GEOSCoordSeq(GEOSCoordSeq cs, char want3d)
 {
-       unsigned int dims=2;
-       unsigned int size, i, ptsize;
+       size_t dims=2;
+       size_t size;
+       unsigned int i, ptsize;
        uchar *points, *ptr;
        POINTARRAY *ret;