From ec652a6d9935a32330f4a6233952d183cafe3881 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Fri, 4 May 2007 16:17:24 +0000 Subject: [PATCH] added cast to avoid warning --- vcg/space/index/grid_closest.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_closest.h b/vcg/space/index/grid_closest.h index d7058e11..04d910b0 100644 --- a/vcg/space/index/grid_closest.h +++ b/vcg/space/index/grid_closest.h @@ -24,6 +24,10 @@ History $Log: not supported by cvs2svn $ +Revision 1.16 2006/10/02 09:34:03 cignoni +Re-added diff 1.12 by Pietroni (cancelled by previous rollback): +in GridDoRay function the RayIterator must be initialized with maximum distance + Revision 1.15 2006/10/02 09:28:45 cignoni Reverted to version 1.10 to nullify dangerous marfr960's changes @@ -256,7 +260,7 @@ namespace vcg{ _points.push_back(Cli.NearestPoint()); ++Cli; } - return (_objectPtrs.size()); + return ((int)_objectPtrs.size()); } template