diff --git a/Plugin/Crack.cpp b/Plugin/Crack.cpp index 5617abc57320ec900f8f33305dd10c5ad31841bc..ed4f2a200174fc9dd99c3a08557fb6ea8268f9c2 100644 --- a/Plugin/Crack.cpp +++ b/Plugin/Crack.cpp @@ -156,7 +156,7 @@ PView *GMSH_CrackPlugin::execute(PView *view) m->getEntities(allentities); for(unsigned int ent = 0; ent < allentities.size(); ent++){ if(allentities[ent]->dim() != dim + 1) continue; - for(int i = 0; i < allentities[ent]->getNumMeshElements(); i++){ + for(unsigned int i = 0; i < allentities[ent]->getNumMeshElements(); i++){ MElement *e = allentities[ent]->getMeshElement(i); for(int j = 0; j < e->getNumVertices(); j++){ MVertex *v = e->getVertex(j);