X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7092398891c83b12c84305d8d0206bdbe415fa0..f155075229d771430f0793700f5048ad4be00e9d:/samples/typetest/typetest.cpp diff --git a/samples/typetest/typetest.cpp b/samples/typetest/typetest.cpp index 69e074b65d..0f3a339c0b 100644 --- a/samples/typetest/typetest.cpp +++ b/samples/typetest/typetest.cpp @@ -892,10 +892,10 @@ void MyApp::DoUnicodeDemo(wxCommandEvent& WXUNUSED(event)) printf( "\n\nConversion with wxConvLocal:\n" ); wxConvCurrent = &wxConvLocal; - printf( (const char*) str.mbc_str() ); + puts( str.mbc_str() ); printf( "\n\nConversion with wxConvLibc:\n" ); wxConvCurrent = &wxConvLibc; - printf( (const char*) str.mbc_str() ); + puts( str.mbc_str() ); } #endif