Commit 7b5d1c4c authored by Ken Martin's avatar Ken Martin
Browse files

COMP: fix warning

parent 345af175
......@@ -3242,7 +3242,8 @@ cmPolicies::PolicyStatus cmMakefile
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())
......
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