summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-30 16:54:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-30 16:54:55 (GMT)
commit21e6791789be947c471d0c551e69364e9f475b7e (patch)
treeb93b08055d5f181dad5fc9d7eb7aa2825c3f28f1 /Source/CTest/cmCTestTestHandler.cxx
parente9503a174ecff5301ab2252cbf06d2d29889ceb4 (diff)
downloadCMake-21e6791789be947c471d0c551e69364e9f475b7e.zip
CMake-21e6791789be947c471d0c551e69364e9f475b7e.tar.gz
CMake-21e6791789be947c471d0c551e69364e9f475b7e.tar.bz2
ENH: remove warnings
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 90e5265..660764c 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -917,7 +917,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
cmCTestTestHandler::ListOfTests::size_type tmsize = this->TestList.size();
this->StartTest = this->CTest->CurrentTime();
- this->StartTestTime = cmSystemTools::GetTime();
+ this->StartTestTime = static_cast<unsigned int>(cmSystemTools::GetTime());
double elapsed_time_start = cmSystemTools::GetTime();
*this->LogFile << "Start testing: " << this->StartTest << std::endl
@@ -1000,7 +1000,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
}
this->EndTest = this->CTest->CurrentTime();
- this->EndTestTime = cmSystemTools::GetTime();
+ this->EndTestTime = static_cast<unsigned int>(cmSystemTools::GetTime());
this->ElapsedTestingTime = cmSystemTools::GetTime() - elapsed_time_start;
if ( this->LogFile )
{