X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfee166d4e4c1739c9a00cf8128db5260f154a43..d5f7923b9ef3f610ec400d07bda7e53b9e0ef543:/src/common/wxchar.cpp?ds=sidebyside 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; }