Some size_t fixes

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@928 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-14 16:33:26 +00:00
parent fb8baf09a8
commit 9d1213ed6b
4 changed files with 5 additions and 5 deletions

View File

@@ -369,7 +369,7 @@ decimate(const std::string &_ifname,
float nv_before = float(mesh.n_vertices());
timer.start();
int rc = 0;
size_t rc = 0;
if (_opt.n_collapses < 0.0)
rc = decimater.decimate_to( size_t(-_opt.n_collapses) );
else if (_opt.n_collapses >= 1.0 || _opt.n_collapses == 0.0)