diff --git a/Mesh/meshGFaceLloyd.cpp b/Mesh/meshGFaceLloyd.cpp
index a55383c3d041d5c1a92ea6b212f0f025d3e0642f..e3a0cbfb405c971a61c2f52fd201118f04a79864 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));
     }
   }