diff --git a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h index 4f99bc8c9eb..ea7cc106bfb 100644 --- a/Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h +++ b/Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h @@ -261,7 +261,7 @@ public: i != patch_ids_bitset.npos; i = patch_ids_bitset.find_next(i)) { - all_patch_ids.push_back(i + min); + all_patch_ids.push_back(static_cast(i + min)); } using Polyline = typename std::iterator_traits::value_type; auto identity_property_map = boost::typed_identity_property_map();