From 12912d3a59c462203c25684caee1220ee7b17f5c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 15 Oct 2010 11:41:05 +0000
Subject: [PATCH]

---
 Geo/GModel.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp
index 68789352d6..7b4b0deb45 100644
--- a/Geo/GModel.cpp
+++ b/Geo/GModel.cpp
@@ -2312,8 +2312,8 @@ void GModel::classifyFaces(std::set<GFace*> &_faces)
   for (fiter fit = fac.begin() ; fit !=fac.end() ; ++fit){
     std::set<MVertex *> _verts;
     (*fit)->mesh_vertices.clear();
-    for (int i=0;i<(*fit)->triangles.size();i++){
-      for (int j=0;j<3;j++){
+    for (unsigned int i = 0; i < (*fit)->triangles.size(); i++){
+      for (int j = 0; j < 3; j++){
 	if ((*fit)->triangles[i]->getVertex(j)->onWhat()->dim() > 1){
 	  (*fit)->triangles[i]->getVertex(j)->setEntity(*fit);
 	  _verts.insert((*fit)->triangles[i]->getVertex(j));
-- 
GitLab