From 181cec68f4be0799c81aa3987ce8ea827ecac9cd Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 5 Mar 2024 07:16:44 +0000 Subject: [PATCH] conversion warning --- Polygon_repair/include/CGAL/Polygon_repair/repair.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polygon_repair/include/CGAL/Polygon_repair/repair.h b/Polygon_repair/include/CGAL/Polygon_repair/repair.h index c2c57426467..d40fad299f4 100644 --- a/Polygon_repair/include/CGAL/Polygon_repair/repair.h +++ b/Polygon_repair/include/CGAL/Polygon_repair/repair.h @@ -649,7 +649,7 @@ public: // Create polygons with holes and put in multipolygon std::set, Polygon_with_holes_less> ordered_polygons; - for (int i = 0; i < polygons.size(); ++i) { + for (std::size_t i = 0; i < polygons.size(); ++i) { ordered_polygons.insert(Polygon_with_holes_2(polygons[i], holes[i].begin(), holes[i].end())); } for (auto const& polygon: ordered_polygons) {