diff --git a/Modules/Visualization/MonteverdiCore/src/mvdI18nCoreApplication.cxx b/Modules/Visualization/MonteverdiCore/src/mvdI18nCoreApplication.cxx index 3d5af2a6931340464e382fd26d07fbb606732020..fd92ac18fc4c143300ef26f1af6ebbde055b24db 100644 --- a/Modules/Visualization/MonteverdiCore/src/mvdI18nCoreApplication.cxx +++ b/Modules/Visualization/MonteverdiCore/src/mvdI18nCoreApplication.cxx @@ -301,7 +301,7 @@ I18nCoreApplication #if ECHO_QCRITICAL || FORCE_QCRITICAL #if _WIN32 OutputDebugString( "ERROR> " ); - OutputDebugString( message ); + OutputDebugString( qPrintable(message) ); OutputDebugString( "\n" ); #endif std::cerr << "ERROR> " << msg << std::endl; @@ -324,7 +324,7 @@ I18nCoreApplication #if ECHO_QFATAL || FORCE_QFATAL #if _WIN32 OutputDebugString( "FATAL> " ); - OutputDebugString( message ); + OutputDebugString( qPrintable(message) ); OutputDebugString( "\n" ); #endif std::cerr << "FATAL> " << msg << std::endl;