remove warning

This commit is contained in:
Guillaume Damiand 2023-12-26 09:55:58 +01:00
parent a31128516b
commit 3e16be00d3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ struct Colored_faces_given_height:
++n; ++n;
} }
// Random color depending on the "height" of the facet // Random color depending on the "height" of the facet
CGAL::Random random(30*((res/n)-m_min_z)/(m_max_z-m_min_z)); CGAL::Random random(static_cast<unsigned int>(30*((res/n)-m_min_z)/(m_max_z-m_min_z)));
return CGAL::get_random_color(random); return CGAL::get_random_color(random);
}; };
} }