]> git.saurik.com Git - wxWidgets.git/commitdiff
fix warning
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 5 Feb 2009 17:42:50 +0000 (17:42 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 5 Feb 2009 17:42:50 +0000 (17:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/debugrpt/debugrpt.cpp

index 1125ff6cfa797cd6c7b8591ea43417199e4d95ca..b0faf4b5c3cd03f5a42a456d3605239da01b46d0 100644 (file)
@@ -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");
 }
 
 // ----------------------------------------------------------------------------