summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-11-15 17:54:04 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-11-15 17:54:04 (GMT)
commit78b8d0af6c56f5d363d68b4151a6d321a66406e5 (patch)
tree90b69836c7e639ad8a0feb55dcfb7e3cfcfaab8d /Source/cmIfCommand.cxx
parenta2ec93371bf9e83c5efa5f6269f234b77e90145b (diff)
downloadCMake-78b8d0af6c56f5d363d68b4151a6d321a66406e5.zip
CMake-78b8d0af6c56f5d363d68b4151a6d321a66406e5.tar.gz
CMake-78b8d0af6c56f5d363d68b4151a6d321a66406e5.tar.bz2
fixed compiler warning
Diffstat (limited to 'Source/cmIfCommand.cxx')
-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 += " ";