summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-07 16:31:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-07 16:31:10 (GMT)
commit4009a4b27607bce9b7a42b79082f741baaa57baf (patch)
treea7ca204177d863313fca90b0941f8a8b77f85c06 /Source/cmCTest.cxx
parent2c2291bbe03aec2dd6637a5311204f09ff6c58ba (diff)
downloadCMake-4009a4b27607bce9b7a42b79082f741baaa57baf.zip
CMake-4009a4b27607bce9b7a42b79082f741baaa57baf.tar.gz
CMake-4009a4b27607bce9b7a42b79082f741baaa57baf.tar.bz2
ENH: remove warnings
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index bac7b38..dd9bb5a 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2824,7 +2824,7 @@ int cmCTest::RunTest(std::vector<const char*> argv, std::string* output, int *re
{
cmCTest inst;
std::vector<std::string> 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<const char*> 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());