From 4009a4b27607bce9b7a42b79082f741baaa57baf Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 7 Jan 2004 11:31:10 -0500 Subject: [PATCH] ENH: remove warnings --- Source/cmCTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index bac7b388c..dd9bb5a64 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2824,7 +2824,7 @@ int cmCTest::RunTest(std::vector argv, std::string* output, int *re { cmCTest inst; std::vector args; - for(int i =0; i < argv.size(); ++i) + for(unsigned int i =0; i < argv.size(); ++i) { if(argv[i]) { @@ -3881,7 +3881,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) args.push_back(generator); } - int k; + unsigned int k; for(k=0; k < m_BuildOptions.size(); ++k) { args.push_back(m_BuildOptions[k]); @@ -4145,7 +4145,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) std::vector testCommand; testCommand.push_back(fullPath.c_str()); - for(int k=0; k < m_TestCommandArgs.size(); ++k) + for(unsigned int k=0; k < m_TestCommandArgs.size(); ++k) { out << m_TestCommandArgs[k].c_str() << "\n"; testCommand.push_back(m_TestCommandArgs[k].c_str());