diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index de98a38d6..9566de9a9 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1121,7 +1121,7 @@ void cmCTestTestHandler::ComputeTestList() if(static_cast(this->CTest->GetMaxTestNameWidth()) != max) { - this->CTest->SetMaxTestNameWidth(max); + this->CTest->SetMaxTestNameWidth(static_cast(max)); } }