COMP: fix warning
This commit is contained in:
parent
345af17586
commit
7b5d1c4c1e
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue