diff --git a/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h b/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h index f516aa8f811..b7f4bcc0190 100644 --- a/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h +++ b/Shape_detection/include/CGAL/Polygon_mesh_processing/region_growing.h @@ -178,7 +178,7 @@ region_growing_of_planes_on_faces(const PolygonMesh& mesh, if (!is_border(h, mesh)) { Id id = get(region_map, face(h, mesh)); - if (id!=i) + if (std::size_t(id)!=i) ids_for_v.insert(id); } }