From 0d921e1be268004a75232bebbb01847acad44395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 24 Jul 2013 08:01:53 +0000 Subject: [PATCH] size_t fixes git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@862 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Tools/Decimater/McDecimaterT.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Tools/Decimater/McDecimaterT.cc b/src/OpenMesh/Tools/Decimater/McDecimaterT.cc index df6dbac0..b354d81c 100644 --- a/src/OpenMesh/Tools/Decimater/McDecimaterT.cc +++ b/src/OpenMesh/Tools/Decimater/McDecimaterT.cc @@ -358,8 +358,8 @@ size_t McDecimaterT::decimate_constraints_only(float _factor) { this->set_error_tolerance_factor(_factor); unsigned int n_collapses(0); - unsigned int nv = mesh_.n_vertices(); - unsigned int nf = mesh_.n_faces(); + size_t nv = mesh_.n_vertices(); + size_t nf = mesh_.n_faces(); bool lastCollapseIllegal = false; // number of illegal collapses that occurred in a row