File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -680,9 +680,9 @@ indexed_triangle_set Slic3r::cut2model(const SurfaceCut &cut,
680680 assert (i.x () + back_offset < result.vertices .size ());
681681 assert (i.y () + back_offset < result.vertices .size ());
682682 assert (i.z () + back_offset < result.vertices .size ());
683- assert (i.x () >= 0 && i.x () < cut.vertices .size ());
684- assert (i.y () >= 0 && i.y () < cut.vertices .size ());
685- assert (i.z () >= 0 && i.z () < cut.vertices .size ());
683+ assert (i.x () >= 0 && i.x () < static_cast < int >( cut.vertices .size () ));
684+ assert (i.y () >= 0 && i.y () < static_cast < int >( cut.vertices .size () ));
685+ assert (i.z () >= 0 && i.z () < static_cast < int >( cut.vertices .size () ));
686686 // Y and Z is swapped CCW triangles for back side
687687 result.indices .emplace_back (i.x () + back_offset,
688688 i.z () + back_offset,
You can’t perform that action at this time.
0 commit comments