summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-01 21:21:41 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-01 21:21:41 (GMT)
commit6f6b80fded29896e2e6d7679aad4d46d974e3e62 (patch)
treecfa4d19beb091c4fd70b8e721ca46632e08e5952 /Source/cmMakefile.cxx
parentd7db2d086cf9d850c0b0644496ad59a2700ae3b5 (diff)
downloadCMake-6f6b80fded29896e2e6d7679aad4d46d974e3e62.zip
CMake-6f6b80fded29896e2e6d7679aad4d46d974e3e62.tar.gz
CMake-6f6b80fded29896e2e6d7679aad4d46d974e3e62.tar.bz2
BUG: bad loop index unsigned compared to zero
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index f86fbb8..fee333b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3238,8 +3238,9 @@ cmPolicies::PolicyStatus cmMakefile
{
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--)
{