diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 887091ed7..9a8401fd6 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -481,7 +481,7 @@ int cmake::CMakeCommand(std::vector& args) // Echo string else if (args[1] == "echo" ) { - int cc; + unsigned int cc; for ( cc = 2; cc < args.size(); cc ++ ) { std::cout << args[cc] << " "; @@ -580,7 +580,7 @@ int cmake::CMakeCommand(std::vector& args) // Remove file else if (args[1] == "comspec" && args.size() > 2) { - int cc; + unsigned int cc; std::string command = args[2]; for ( cc = 3; cc < args.size(); cc ++ ) {