Skip to content
Permalink
Browse files
Remove compiler warning for geos 2 and 3
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6984 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 6, 2007
1 parent 3dbd11b commit 5e1ec04931a3c14a3a3dd78494555db56d46cf02
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgeometry.cpp
@@ -2508,7 +2508,7 @@ int QgsGeometry::addIsland(const QList<QgsPoint>& ring)

//create new multipolygon
std::vector<GEOS_GEOM::Geometry*>* newMultiPolygonVector = new std::vector<GEOS_GEOM::Geometry*>();
for(unsigned int i = 0; i < thisMultiPolygon->getNumGeometries(); ++i)
for(GEOS_SIZE_T i = 0; i < thisMultiPolygon->getNumGeometries(); ++i)
{
const GEOS_GEOM::Geometry* polygonN = thisMultiPolygon->getGeometryN(i);

0 comments on commit 5e1ec04

Please sign in to comment.