Skip to content

Commit

Permalink
static_cast<int>
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Dec 13, 2023
1 parent ee1d222 commit 0f9e446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void Polyhedron_demo_point_set_from_sampling_plugin::createPointSet()
qobject_cast<Scene_polygon_soup_item*>(scene->item(index));

if (soup_item){
int nf = soup_item->polygons().size();
int nf = static_cast<int>(soup_item->polygons().size());

for(const auto& f : soup_item->polygons()){
if(f.size() != 3){
Expand Down

0 comments on commit 0f9e446

Please sign in to comment.