diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-30 16:54:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-30 16:54:55 (GMT) |
commit | 21e6791789be947c471d0c551e69364e9f475b7e (patch) | |
tree | b93b08055d5f181dad5fc9d7eb7aa2825c3f28f1 /Source/CTest | |
parent | e9503a174ecff5301ab2252cbf06d2d29889ceb4 (diff) | |
download | CMake-21e6791789be947c471d0c551e69364e9f475b7e.zip CMake-21e6791789be947c471d0c551e69364e9f475b7e.tar.gz CMake-21e6791789be947c471d0c551e69364e9f475b7e.tar.bz2 |
ENH: remove warnings
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 4 | ||||
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 2 |
2 files changed, 3 insertions, 3 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 ) { diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index a8afe12..3787e39 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -541,7 +541,7 @@ int cmCTestUpdateHandler::ProcessHandler() return -1; } std::string start_time = this->CTest->CurrentTime(); - unsigned int start_time_time = cmSystemTools::GetTime(); + unsigned int start_time_time = static_cast<unsigned int>(cmSystemTools::GetTime()); double elapsed_time_start = cmSystemTools::GetTime(); cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "* Update repository: " |