From b2203ab96a3ad7bef9e5e1e51bc68fb3cd7c3ad8 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 11 Feb 2016 06:09:31 +0000 Subject: [PATCH] harmless clang warning --- vcg/complex/algorithms/point_sampling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index 16eb488a..e7524876 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -2317,9 +2317,9 @@ void PoissonPruningExact(MeshType &m, /// the mesh that has to be pruned curRadius=(RangeMaxRad+RangeMinRad)/2.0f; PoissonPruning(m,poissonSamplesTmp,curRadius,randSeed); //qDebug("(%6.3f:%5i %6.3f:%5i) Cur Radius %f -> %i sample instead of %i",RangeMinRad,RangeMinSampleNum,RangeMaxRad,RangeMaxSampleNum,curRadius,poissonSamplesTmp.size(),sampleNum); - if(poissonSamplesTmp.size() > sampleNum) + if(poissonSamplesTmp.size() > size_t(sampleNum)) RangeMinRad = curRadius; - if(poissonSamplesTmp.size() < sampleNum) + if(poissonSamplesTmp.size() < size_t(sampleNum)) RangeMaxRad = curRadius; }