compiler warnings

This commit is contained in:
Ken Martin 2002-09-29 14:09:16 -04:00
parent 780a9bbda7
commit 595c15c84a
1 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@ int cmake::CMakeCommand(std::vector<std::string>& args)
// Echo string // Echo string
else if (args[1] == "echo" ) else if (args[1] == "echo" )
{ {
int cc; unsigned int cc;
for ( cc = 2; cc < args.size(); cc ++ ) for ( cc = 2; cc < args.size(); cc ++ )
{ {
std::cout << args[cc] << " "; std::cout << args[cc] << " ";
@ -580,7 +580,7 @@ int cmake::CMakeCommand(std::vector<std::string>& args)
// Remove file // Remove file
else if (args[1] == "comspec" && args.size() > 2) else if (args[1] == "comspec" && args.size() > 2)
{ {
int cc; unsigned int cc;
std::string command = args[2]; std::string command = args[2];
for ( cc = 3; cc < args.size(); cc ++ ) for ( cc = 3; cc < args.size(); cc ++ )
{ {