X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a9a7f264cad6c79b87ebdaf62ddb928d030771c..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/samples/debugrpt/debugrpt.cpp?ds=sidebyside diff --git a/samples/debugrpt/debugrpt.cpp b/samples/debugrpt/debugrpt.cpp index 9b379a1f51..1125ff6cfa 100644 --- a/samples/debugrpt/debugrpt.cpp +++ b/samples/debugrpt/debugrpt.cpp @@ -125,7 +125,7 @@ static void bar(const wxChar *p) void baz(const wxString& s) { - printf("baz: %s\n", s.c_str()); + printf("baz: %s\n", (const char*)s.c_str()); } void foo(int n)