[cmake-commits] martink committed cmMakefile.cxx 1.440 1.441
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Mar 1 16:21:43 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv22779
Modified Files:
cmMakefile.cxx
Log Message:
BUG: bad loop index unsigned compared to zero
Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.440
retrieving revision 1.441
diff -u -d -r1.440 -r1.441
--- cmMakefile.cxx 1 Mar 2008 20:44:17 -0000 1.440
+++ cmMakefile.cxx 1 Mar 2008 21:21:41 -0000 1.441
@@ -3238,8 +3238,9 @@
{
cmPolicies::PolicyStatus status = cmPolicies::REQUIRED_IF_USED;
PolicyMap::iterator mappos;
- unsigned int vecpos;
+ int vecpos;
bool done = false;
+
// check our policy stack first
for (vecpos = this->PolicyStack.size(); vecpos >= 0 && !done; vecpos--)
{
More information about the Cmake-commits
mailing list