fix warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-02-05 17:42:50 +00:00
parent d9ced90bcf
commit fc6d11d1d4

View 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");
}
// ----------------------------------------------------------------------------