From e278ca6b117b8100b9469aac5eb2afb17f42fcc3 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 1 Mar 2010 11:19:20 +0000
Subject: [PATCH] fix msvc compile

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

diff --git a/Mesh/meshGFaceLloyd.cpp b/Mesh/meshGFaceLloyd.cpp
index a55383c3d0..e3a0cbfb40 100644
--- a/Mesh/meshGFaceLloyd.cpp
+++ b/Mesh/meshGFaceLloyd.cpp
@@ -13,9 +13,9 @@ void lloydAlgorithm::operator () ( GFace * gf) {
   std::set<MVertex*> all;
   // get all the points of the face ...
 
-  for (int i=0;i<gf->getNumMeshElements();i++){
+  for (unsigned int i = 0; i < gf->getNumMeshElements(); i++){
     MElement *e = gf->getMeshElement(i);
-    for (int j=0;j<e->getNumVertices();j++){
+    for (int j = 0;j<e->getNumVertices(); j++){
       all.insert(e->getVertex(j));
     }
   }
-- 
GitLab