remove signed/unsigned warning

This commit is contained in:
Massimiliano Corsini 2007-10-09 12:04:06 +00:00
parent ddc8bd5706
commit 1e6b800880
2 changed files with 5 additions and 2 deletions

View File

@ -240,7 +240,7 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> {
VertexType *candidate = NULL; VertexType *candidate = NULL;
ScalarType min_angle = M_PI; ScalarType min_angle = M_PI;
for(int i = 0; i < targets.size(); i++) { for(int i = 0; i < static_cast<int>(targets.size()); i++) {
VertexType *v = targets[i]; VertexType *v = targets[i];
int id = v - &*this->mesh.vert.begin(); int id = v - &*this->mesh.vert.begin();
if(v->IsD()) continue; if(v->IsD()) continue;

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.20 2007/03/12 15:37:19 tarini
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
Revision 1.19 2006/11/28 22:34:28 cignoni Revision 1.19 2006/11/28 22:34:28 cignoni
Added default constructor with null initialization to adjacency members. Added default constructor with null initialization to adjacency members.
AddFaces and AddVertices NEED to know if the topology is correctly computed to update it. AddFaces and AddVertices NEED to know if the topology is correctly computed to update it.
@ -174,7 +177,7 @@ public:
void pop_back(); void pop_back();
void resize(const unsigned int & _size) void resize(const unsigned int & _size)
{ {
int oldsize = BaseType::size(); unsigned int oldsize = BaseType::size();
BaseType::resize(_size); BaseType::resize(_size);
if(oldsize<_size){ if(oldsize<_size){
ThisTypeIterator firstnew = BaseType::begin(); ThisTypeIterator firstnew = BaseType::begin();