diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Octree_wrapper.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Octree_wrapper.h index 84bff3592c2..cbafe93e4e1 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Octree_wrapper.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Octree_wrapper.h @@ -273,7 +273,7 @@ public: Uniform_coords coords = octree_.global_coordinates(node_index); const std::size_t df = depth_factor(octree_.depth(node_index)); for(int i=0; i<3; ++i) - coords[i] *= df; + coords[i] *= static_cast(df); return coords; } @@ -335,7 +335,7 @@ public: const std::size_t df = depth_factor(octree_.depth(node_index)); for(int i=0; i<3; ++i) - v_coords[i] *= df; + v_coords[i] *= static_cast(df); return v_coords; }