From bc2049249dc4fec1479203d411295b7c47f68fff Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 27 Aug 2009 18:13:16 +0000
Subject: [PATCH] fix warnings

---
 Geo/GFaceCompound.cpp | 2 +-
 Mesh/Generator.cpp    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/GFaceCompound.cpp b/Geo/GFaceCompound.cpp
index 7d970e2cd0..7a7c3f702f 100644
--- a/Geo/GFaceCompound.cpp
+++ b/Geo/GFaceCompound.cpp
@@ -838,7 +838,7 @@ void GFaceCompound::parametrize_conformal() const
   gmshLinearSystemGmm<double> lsys;
   //gmshLinearSystemCSRGmm<double> lsys;
   lsys.setPrec(1.e-15);
-  lsys.setGmres(1.);
+  lsys.setGmres(1);
   if(Msg::GetVerbosity() == 99) lsys.setNoisy(2);
 #else
   gmshLinearSystemFull<double> lsys;
diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp
index 8e261b7056..22ae577fba 100644
--- a/Mesh/Generator.cpp
+++ b/Mesh/Generator.cpp
@@ -120,7 +120,7 @@ geomTresholdVertexEquivalence::geomTresholdVertexEquivalence(GModel *g)
       std::list<GEdge*> ed = g->edges();
       for (std::list<GEdge*>::iterator ite = ed.begin() ; ite != ed.end() ; ++ite){
 	std::vector<MLine*> newl;
-	for (int i=0;i<(*ite)->lines.size();++i){
+	for (unsigned int i = 0; i < (*ite)->lines.size(); ++i){
 	  MLine *l = (*ite)->lines[i];
 	  MVertex *v1 = l->getVertex(0);
 	  MVertex *v2 = l->getVertex(1);
-- 
GitLab