Skip to content

Commit 380f06d

Browse files
committed
GeoUtils: Fix comparison
1 parent 4773905 commit 380f06d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libufc/utils/geoutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool Polygon::intersects(Coordinate point) const
6767
bool inside = false;
6868

6969
Coordinate p1 = points[0];
70-
for (int i = 1; i <= num_vertices; i++)
70+
for (size_t i = 1; i <= num_vertices; i++)
7171
{
7272
Coordinate p2 = points[i % num_vertices];
7373

0 commit comments

Comments
 (0)