Fixed a bad static_cast in Seam_mesh.h

This commit is contained in:
Mael Rouxel-Labbé 2016-11-07 15:58:27 +01:00
parent 3245d726e3
commit c333aa34b1
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ public:
/// Numbering
vertices_size_type num_vertices() const
{
if(number_of_vertices == static_cast<unsigned int>(-1)) {
if(number_of_vertices == static_cast<vertices_size_type>(-1)) {
number_of_vertices = vertices().size();
}