From fc6d11d1d45d624777bf5de39f026e01e2df9340 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Thu, 5 Feb 2009 17:42:50 +0000 Subject: [PATCH] fix warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/debugrpt/debugrpt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/debugrpt/debugrpt.cpp b/samples/debugrpt/debugrpt.cpp index 1125ff6cfa..b0faf4b5c3 100644 --- a/samples/debugrpt/debugrpt.cpp +++ b/samples/debugrpt/debugrpt.cpp @@ -115,7 +115,7 @@ public: // ---------------------------------------------------------------------------- // just some functions to get a slightly deeper stack trace -static void bar(const wxChar *p) +static void bar(const char *p) { char *pc = 0; *pc = *p; @@ -131,9 +131,9 @@ void baz(const wxString& s) void foo(int n) { if ( n % 2 ) - baz(wxT("odd")); + baz("odd"); else - bar(wxT("even")); + bar("even"); } // ---------------------------------------------------------------------------- -- 2.47.2