From 7b5d1c4c1e35bb5470881443598e602df8e0cf96 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Sun, 2 Mar 2008 09:11:26 -0500 Subject: [PATCH] COMP: fix warning --- Source/cmMakefile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index fee333bf4..a7488bd83 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(this->PolicyStack.size()); + vecpos >= 0 && !done; vecpos--) { mappos = this->PolicyStack[vecpos].find(id); if (mappos != this->PolicyStack[vecpos].end())