From 3b049ec0e4da85b2ccaa57e0ca2351c9f264f83a Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Fri, 27 Jan 2006 09:58:47 +0000 Subject: [PATCH] fix signed/unsigned mismatch --- vcg/complex/trimesh/clean.h | 6 +++++- vcg/space/index/grid_closest.h | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/clean.h b/vcg/complex/trimesh/clean.h index d0947343..6e2ace6d 100644 --- a/vcg/complex/trimesh/clean.h +++ b/vcg/complex/trimesh/clean.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.32 2006/01/23 13:33:54 cignoni +Added a missing vcg:: + Revision 1.31 2006/01/22 17:06:27 cignoni vi/fi mismatch in ClipWithBox @@ -514,7 +517,8 @@ namespace vcg { { //cut and paste the additional hole. std::vector hole2; - int index = find(hole.begin(),hole.end(),newpoint) - hole.begin(); + int index = static_cast(find(hole.begin(),hole.end(),newpoint) + - hole.begin()); for(unsigned int i=index; i(_objectPtrs.size())); } }