summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index de98a38..9566de9 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -1121,7 +1121,7 @@ void cmCTestTestHandler::ComputeTestList()
if(static_cast<std::string::size_type>(this->CTest->GetMaxTestNameWidth())
!= max)
{
- this->CTest->SetMaxTestNameWidth(max);
+ this->CTest->SetMaxTestNameWidth(static_cast<int>(max));
}
}