summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmIfCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index 406416b..eda255d 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -107,7 +107,8 @@ bool cmIfCommand::InitialPass(std::vector<std::string> const& args)
if (!isValid)
{
std::string err = "An IF command had incorrect arguments: ";
- for(int i =0; i < args.size(); ++i)
+ unsigned int i;
+ for(i =0; i < args.size(); ++i)
{
err += args[i];
err += " ";