From: Vadim Zeitlin Date: Sat, 25 Apr 2009 15:58:21 +0000 (+0000) Subject: compilation fix after the latest change (typo: used char instead of wchar_t) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4c709bdd6aa001dced03811d4084e11cc9ecea96 compilation fix after the latest change (typo: used char instead of wchar_t) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxcrt.h b/include/wx/wxcrt.h index 54f17b3ee7..aa89d04d4b 100644 --- a/include/wx/wxcrt.h +++ b/include/wx/wxcrt.h @@ -734,13 +734,13 @@ inline char * wxStrchr(char *s, T c) { return (char *)wxStrchr((const char *)s, c); } template inline char * wxStrchr(wchar_t *s, T c) - { return (char *)wxStrchr((const char *)s, c); } + { return (char *)wxStrchr((const wchar_t *)s, c); } template inline char * wxStrrchr(char *s, T c) { return (char *)wxStrrchr((const char *)s, c); } template inline char * wxStrrchr(wchar_t *s, T c) - { return (char *)wxStrrchr((const char *)s, c); } + { return (char *)wxStrrchr((const wchar_t *)s, c); } template inline char * wxStrpbrk(char *s, T accept)