From ca8780af818c94436d45ee8c2e4dccf340232644 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 6 Jun 2007 10:33:36 +0000 Subject: [PATCH] casting (size_t) to (int) to avoid annoying warning --- vcg/space/index/spatial_hashing.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/spatial_hashing.h b/vcg/space/index/spatial_hashing.h index 8e77ddf6..7291899d 100644 --- a/vcg/space/index/spatial_hashing.h +++ b/vcg/space/index/spatial_hashing.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.24 2006/12/06 17:47:50 marfr960 +end() replaced by pointer lastPlusOne + Revision 1.23 2006/10/02 09:25:49 ganovelli reverted to version 1.20 for critical bug @@ -360,7 +363,7 @@ namespace vcg{ Point3i &siz = this->siz; CoordType &voxel = this->voxel; - int _size=std::distance(_oBegin,_oEnd); + int _size=(int)std::distance(_oBegin,_oEnd); if(!_bbox.IsNull()) this->bbox=_bbox; else {