Skip to content

Commit 5e1ec04

Browse files
author
mhugent
committed
Remove compiler warning for geos 2 and 3
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6984 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3dbd11b commit 5e1ec04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsgeometry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2508,7 +2508,7 @@ int QgsGeometry::addIsland(const QList<QgsPoint>& ring)
25082508

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

0 commit comments

Comments
 (0)