diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp index 5e4b34e6ddb..520f06aa45c 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp @@ -916,7 +916,7 @@ struct Is_constrained_map :mesh(mesh) { icmap = mesh->add_property_map("v:is_control", -1).first; - for(std::size_t i=0; isize(); ++i) + for(unsigned int i=0; isize(); ++i) { icmap[sm_vertex_descriptor(i)] = (*vec)[i]; } diff --git a/Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h b/Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h index 0adb4362940..1f647ac0dd4 100644 --- a/Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h +++ b/Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h @@ -736,7 +736,7 @@ public: std::vector points; points.reserve(selected_facets.size()); VPmap vpm = get(CGAL::vertex_point, *polyhedron()); - std::size_t counter = 1; + unsigned int counter = 1; for(Selection_set_facet::iterator fb = selected_facets.begin(); fb != selected_facets.end(); ++fb) { BOOST_FOREACH(fg_halfedge_descriptor hb, halfedges_around_face(halfedge(*fb,*polyhedron()),*polyhedron())){ if(get(vertex_selection_map(), target(hb,*polyhedron())) == 0) {