the cast must be into std::size_t

This commit is contained in:
Guillaume Damiand 2023-12-28 08:46:59 +01:00
parent 7b483d4128
commit ca296d548a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};