From 6f6b80fded29896e2e6d7679aad4d46d974e3e62 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Sat, 1 Mar 2008 16:21:41 -0500 Subject: BUG: bad loop index unsigned compared to zero --- Source/cmMakefile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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--) { -- cgit v0.12