removed harmless gcc warnings

This commit is contained in:
Paolo Cignoni 2010-08-05 14:20:43 +00:00
parent 10106736c2
commit 9093cce622
1 changed files with 3 additions and 3 deletions
vcg/complex/trimesh

View File

@ -63,7 +63,7 @@ public:
Nring(VertexType* v, MeshType* m) : m(m)
{
assert((v - &*m->vert.begin()) < m->vert.size());
assert((unsigned)(v - &*m->vert.begin()) < m->vert.size());
insertAndFlag(v);
}
@ -124,9 +124,9 @@ public:
void clear()
{
for(int i=0; i< allV.size(); ++i)
for(unsigned i=0; i< allV.size(); ++i)
allV[i]->ClearV();
for(int i=0; i< allF.size(); ++i)
for(unsigned i=0; i< allF.size(); ++i)
allF[i]->ClearV();
allV.clear();