Skip to content

Commit

Permalink
Remove compiler warning for geos 2 and 3
Browse files Browse the repository at this point in the history
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 5e1ec04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgeometry.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 5e1ec04

Please sign in to comment.