From d61680e324e80ad583588cf830bc95dcd44056d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 31 Aug 2021 08:45:35 +0200 Subject: [PATCH] Fix warning --- .../Intersections_3/triangle_other_intersection_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }