Commit 6f6b80fd authored by Ken Martin's avatar Ken Martin
Browse files

BUG: bad loop index unsigned compared to zero

parent d7db2d08
......@@ -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--)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment