Commit 523f3417 authored by Sylvain Thery's avatar Sylvain Thery

warnings removing

parent 877d1ef7
......@@ -453,9 +453,9 @@ Dart extrudeRegion(
dist = dist + (position[contours[i][contours[i].size()-1]] - position[contours[i][0]]).norm();
}
int size = 0;
for (unsigned int i = 0; i < contours.size(); i++)
for (size_t i = 0; i < contours.size(); i++)
{
size = size + contours[i].size();
size = size + int(contours[i].size());
}
dist = dist / size; // height
......
......@@ -239,10 +239,10 @@ unsigned int MeshTablesSurface_Radiance::readVerticesPLY(
coefno += 3 ;
}
}
this->m_nbVertices = verticesID.size() ;
this->m_nbVertices = (unsigned int)(verticesID.size());
delete[] properties ;
return verticesID.size() ;
return (unsigned int)(verticesID.size()) ;
}
} // namespace SCHNApps
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment