fix signed/unsigned mismatch
This commit is contained in:
parent
91b71e0589
commit
3b049ec0e4
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.31 2006/01/22 17:06:27 cignoni
|
||||||
vi/fi mismatch in ClipWithBox
|
vi/fi mismatch in ClipWithBox
|
||||||
|
|
||||||
|
@ -514,7 +517,8 @@ namespace vcg {
|
||||||
{
|
{
|
||||||
//cut and paste the additional hole.
|
//cut and paste the additional hole.
|
||||||
std::vector<Point3x> hole2;
|
std::vector<Point3x> hole2;
|
||||||
int index = find(hole.begin(),hole.end(),newpoint) - hole.begin();
|
int index = static_cast<int>(find(hole.begin(),hole.end(),newpoint)
|
||||||
|
- hole.begin());
|
||||||
for(unsigned int i=index; i<hole.size(); i++)
|
for(unsigned int i=index; i<hole.size(); i++)
|
||||||
hole2.push_back(hole[i]);
|
hole2.push_back(hole[i]);
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.8 2005/12/06 18:00:39 pietroni
|
||||||
|
added deleted objects control for GridClosest() function call
|
||||||
|
|
||||||
Revision 1.7 2005/12/02 00:30:27 cignoni
|
Revision 1.7 2005/12/02 00:30:27 cignoni
|
||||||
Corrected typename usage and removed excess ';' from end of template functions, for gcc compiling
|
Corrected typename usage and removed excess ';' from end of template functions, for gcc compiling
|
||||||
|
|
||||||
|
@ -280,7 +283,7 @@ namespace vcg{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (_objectPtrs.size());
|
return (static_cast<unsigned int>(_objectPtrs.size()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue