From 0b7528ee7d58bde3e19486009462cb478005256b Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Tue, 4 Apr 2017 15:53:39 +0200 Subject: [PATCH] removed warnings --- vcg/complex/algorithms/parametrization/distortion.h | 4 ++-- wrap/igl/lscm_parametrization.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/complex/algorithms/parametrization/distortion.h b/vcg/complex/algorithms/parametrization/distortion.h index d1457644..95a980de 100644 --- a/vcg/complex/algorithms/parametrization/distortion.h +++ b/vcg/complex/algorithms/parametrization/distortion.h @@ -413,7 +413,7 @@ public: static ScalarType MeshAngleDistortion(const MeshType &m) { ScalarType UDdist=0; - for (int i=0;i::GetTriMeshData( m, F, V ); // build fixed points data - int nFixed = 0; + size_t nFixed = 0; for (int i=0; i<(int)m.vert.size(); i++) { if (m.vert[i].Flags()&fixedMask) nFixed++; }