diff --git a/Intersections_3/test/Intersections_3/triangle_other_intersection_test.cpp b/Intersections_3/test/Intersections_3/triangle_other_intersection_test.cpp index 67f5197c695..5093b6348db 100644 --- a/Intersections_3/test/Intersections_3/triangle_other_intersection_test.cpp +++ b/Intersections_3/test/Intersections_3/triangle_other_intersection_test.cpp @@ -131,9 +131,9 @@ typename K::Point_3 random_point_in(const CGAL::Bbox_3& bbox, CGAL::Random& r) { typedef typename K::FT FT; - FT x(r.get_double(bbox.xmin(), bbox.xmax())); - FT y(r.get_double(bbox.ymin(), bbox.ymax())); - FT z(r.get_double(bbox.zmin(), bbox.zmax())); + FT x = static_cast(r.get_double(bbox.xmin(), bbox.xmax())); + FT y = static_cast(r.get_double(bbox.ymin(), bbox.ymax())); + FT z = static_cast(r.get_double(bbox.zmin(), bbox.zmax())); return typename K::Point_3(x,y,z); }