From 0303bc2bdf98d5af8a99a6918e02ee840fa335d9 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 2 Apr 2013 16:55:34 +0000 Subject: [PATCH] fix --- Plugin/Crack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/Crack.cpp b/Plugin/Crack.cpp index 5617abc573..ed4f2a2001 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); -- GitLab