diff --git a/Source/ctest.cxx b/Source/ctest.cxx index dfc18a1d1..1b87f7948 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -574,7 +574,7 @@ int ctest::BuildDirectory() } if ( found ) { - errorwarning.m_LogLine = kk; + errorwarning.m_LogLine = static_cast(kk); errorwarning.m_Text = lines[kk]; errorwarning.m_PreContext = ""; errorwarning.m_PostContext = "";