From 787b37db6a9cc5695d322ed582420c4eb6eca644 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 15 Oct 2010 11:40:29 +0000
Subject: [PATCH]

---
 Solver/function.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Solver/function.cpp b/Solver/function.cpp
index effa05277a..47a6bdeed9 100644
--- a/Solver/function.cpp
+++ b/Solver/function.cpp
@@ -38,7 +38,7 @@ void function::setArgument(fullMatrix<double> &v, const function *f, int iMap)
       Msg::Error("Consecutive secondary caches");
     dependencies.insert(dependency(iMap + it->iMap, it->f));
   }
-  for (int i = 0; i < _functionReplaces.size(); i++) {
+  for (unsigned int i = 0; i < _functionReplaces.size(); i++) {
     functionReplace &replace = *_functionReplaces[i];
     for (std::set<dependency>::iterator it = replace._fromParent.begin(); 
          it != replace._fromParent.end(); it++) {
-- 
GitLab