fix warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,7 +115,7 @@ public:
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// just some functions to get a slightly deeper stack trace
|
// 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;
|
char *pc = 0;
|
||||||
*pc = *p;
|
*pc = *p;
|
||||||
@@ -131,9 +131,9 @@ void baz(const wxString& s)
|
|||||||
void foo(int n)
|
void foo(int n)
|
||||||
{
|
{
|
||||||
if ( n % 2 )
|
if ( n % 2 )
|
||||||
baz(wxT("odd"));
|
baz("odd");
|
||||||
else
|
else
|
||||||
bar(wxT("even"));
|
bar("even");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user