diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 830894f089..4577ba8552 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -84,7 +84,7 @@ void cmake::SetArgs(cmMakefile& builder, const std::vector& args) } } - for(int i =1; i < args.size(); i++) + for(unsigned int i=1; i < args.size(); ++i) { std::string arg = args[i]; if(arg.find("-H",0) != std::string::npos)