From 306d517e8266d4182c17b6d2c812979bceacd542 Mon Sep 17 00:00:00 2001
From: David Cole <david.cole@kitware.com>
Date: Wed, 26 Nov 2008 15:41:16 -0500
Subject: [PATCH] COMP: Using the proper type for local variables can eliminate
 compiler warnings.

---
 Source/cmSystemTools.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index e47ca1978b..6c49a144dd 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1612,7 +1612,7 @@ void cmSystemTools::RestoreEnv(const std::vector<std::string>& env)
     {
     std::string var(*eit);
 
-    int pos = var.find("=");
+    std::string::size_type pos = var.find("=");
     if (pos != std::string::npos)
       {
       var = var.substr(0, pos);
-- 
GitLab