COMP: fix warning

This commit is contained in:
Ken Martin 2008-03-02 09:11:26 -05:00
parent 345af17586
commit 7b5d1c4c1e

View File

@ -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())