fixed compiler warning

This commit is contained in:
Ken Martin 2002-11-15 12:54:04 -05:00
parent a2ec93371b
commit 78b8d0af6c
1 changed files with 2 additions and 1 deletions

View File

@ -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 += " ";