From e99ae117deed94aff28265eb50533bb559ef28d4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 25 Feb 2014 17:40:36 +0000 Subject: [PATCH] Harmless warning (unsigned vs signed int) --- vcg/complex/algorithms/update/selection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/selection.h b/vcg/complex/algorithms/update/selection.h index 66aef890..78f431c6 100644 --- a/vcg/complex/algorithms/update/selection.h +++ b/vcg/complex/algorithms/update/selection.h @@ -388,7 +388,7 @@ static size_t FaceOutOfRangeEdge(MeshType &m, ScalarType MinEdgeThr=0, ScalarTyp for(fi=m.face.begin(); fi!=m.face.end();++fi) if(!(*fi).IsD()) { - for(unsigned int i=0;i<(*fi).VN();++i) + for(int i=0;i<(*fi).VN();++i) { const ScalarType squaredEdge=SquaredDistance((*fi).V0(i)->cP(),(*fi).V1(i)->cP()); if((squaredEdge<=MinEdgeThr) || (squaredEdge>=MaxEdgeThr) )