Skip to content

Commit

Permalink
Fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Nov 22, 2023
1 parent f08aadf commit cdca811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utils/PolygonsPointIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PathsPointIndex
* \param poly_idx The index of the sub-polygon to point to.
* \param point_idx The index of the vertex in the sub-polygon.
*/
PathsPointIndex(const Paths* polygons, unsigned int poly_idx, unsigned int point_idx)
PathsPointIndex(const Paths* polygons, size_t poly_idx, size_t point_idx)
: polygons_(polygons)
, poly_idx_(poly_idx)
, point_idx_(point_idx)
Expand Down

0 comments on commit cdca811

Please sign in to comment.