From 21e6791789be947c471d0c551e69364e9f475b7e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 30 Jan 2008 11:54:55 -0500 Subject: ENH: remove warnings --- Source/CTest/cmCTestTestHandler.cxx | 4 ++-- 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 &passed, cmCTestTestHandler::ListOfTests::size_type tmsize = this->TestList.size(); this->StartTest = this->CTest->CurrentTime(); - this->StartTestTime = cmSystemTools::GetTime(); + this->StartTestTime = static_cast(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 &passed, } this->EndTest = this->CTest->CurrentTime(); - this->EndTestTime = cmSystemTools::GetTime(); + this->EndTestTime = static_cast(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(cmSystemTools::GetTime()); double elapsed_time_start = cmSystemTools::GetTime(); cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "* Update repository: " -- cgit v0.12