From db859464f2d8cc07f6fa5c238c187cd1e3566e5c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 7 May 2002 09:11:39 -0400 Subject: [PATCH] WNG: remove a warning --- Source/cmUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 2bbd1e919..60c5cc453 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -2106,7 +2106,7 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout, const char* commands[] = { command, command2, command3, command4 }; - for (int i = 0; i < sizeof(commands) / sizeof(commands[0]); ++i) + for (unsigned int i = 0; i < sizeof(commands) / sizeof(commands[0]); ++i) { if(commands[i]) {