diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-03-02 14:11:26 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-03-02 14:11:26 (GMT) |
commit | 7b5d1c4c1e35bb5470881443598e602df8e0cf96 (patch) | |
tree | b29a1c84ef389bd1f1d904bf15d21ad6ea878cdd /Source | |
parent | 345af175864b104344b69a7820463307d3ac33b1 (diff) | |
download | CMake-7b5d1c4c1e35bb5470881443598e602df8e0cf96.zip CMake-7b5d1c4c1e35bb5470881443598e602df8e0cf96.tar.gz CMake-7b5d1c4c1e35bb5470881443598e602df8e0cf96.tar.bz2 |
COMP: fix warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index fee333b..a7488bd 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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()) |