diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index d1a372467d..d2a303abbe 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -227,7 +227,7 @@ bool wxCrashReportImpl::Generate(int flags, EXCEPTION_POINTERS *ep) } else // dbghelp.dll couldn't be loaded { - Output(wxDbgHelpDLL::GetErrorMessage()); + Output(_T("%s"), wxDbgHelpDLL::GetErrorMessage().c_str()); } #else // !wxUSE_DBGHELP wxUnusedVar(flags);