diff --git a/Source/cmGetFilenameComponentCommand.cxx b/Source/cmGetFilenameComponentCommand.cxx index f27762778..c030d1859 100644 --- a/Source/cmGetFilenameComponentCommand.cxx +++ b/Source/cmGetFilenameComponentCommand.cxx @@ -51,7 +51,7 @@ bool cmGetFilenameComponentCommand::InitialPass(std::vector const& } else if (args[2] == "PROGRAM") { - for(int i=2; i < args.size(); ++i) + for(unsigned int i=2; i < args.size(); ++i) { if(args[i] == "PROGRAM_ARGS") {