From ca296d548a82855192dfa42f01bc8bd1891c300e Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Thu, 28 Dec 2023 08:46:59 +0100 Subject: [PATCH] the cast must be into std::size_t --- Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h b/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h index 5911752813a..2298cdd5ef5 100644 --- a/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h +++ b/Arrangement_on_surface_2/include/CGAL/draw_arrangement_2.h @@ -578,7 +578,7 @@ void add_to_graphics_scene(const CGAL_ARR_TYPE& aos, gso.face_color=[](const CGAL_ARR_TYPE&, typename CGAL_ARR_TYPE::Face_const_handle fh) -> CGAL::IO::Color { - CGAL::Random random((unsigned int)(&*fh)); + CGAL::Random random((std::size_t)(&*fh)); return get_random_color(random); };