From 78b8d0af6c56f5d363d68b4151a6d321a66406e5 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 15 Nov 2002 12:54:04 -0500 Subject: fixed compiler warning --- Source/cmIfCommand.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 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 += " "; -- cgit v0.12