From 4c709bdd6aa001dced03811d4084e11cc9ecea96 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Apr 2009 15:58:21 +0000 Subject: [PATCH] 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 --- include/wx/wxcrt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2