X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfee166d4e4c1739c9a00cf8128db5260f154a43..887dfc146ffd1c0d64afbb2fc9ad14a4f18ba60b:/src/common/wxchar.cpp diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index be0dc8d53d..edbe661e75 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -599,7 +599,7 @@ int vfwprintf(FILE *stream, const wxChar *format, va_list argptr) if ( rc != -1 ) { // we can't do much better without Unicode support in libc... - if ( fprintf(stream, "%s", s.mb_str()) == -1 ) + if ( fprintf(stream, "%s", (const char*)s.mb_str() ) == -1 ) return -1; }