[cmake-commits] martink committed cmMakefile.cxx 1.441 1.442

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Mar 2 09:11:28 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv9746

Modified Files:
	cmMakefile.cxx 
Log Message:
COMP: fix warning


Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -d -r1.441 -r1.442
--- cmMakefile.cxx	1 Mar 2008 21:21:41 -0000	1.441
+++ cmMakefile.cxx	2 Mar 2008 14:11:26 -0000	1.442
@@ -3242,7 +3242,8 @@
   bool done = false;
 
   // check our policy stack first
-  for (vecpos = this->PolicyStack.size(); vecpos >= 0 && !done; vecpos--)
+  for (vecpos = static_cast<int>(this->PolicyStack.size()); 
+       vecpos >= 0 && !done; vecpos--)
   {
     mappos = this->PolicyStack[vecpos].find(id);
     if (mappos != this->PolicyStack[vecpos].end())



More information about the Cmake-commits mailing list