From 6e422ce034e5e4a1775c8b28abb8f5deca3f1bd9 Mon Sep 17 00:00:00 2001 From: "Tatiana A. Nurnberg" Date: Sat, 6 Jun 2009 15:05:44 +0200 Subject: Addendum to Bug #45286: backport macro name form other tree use same (slightly unwieldy) name in all trees; fix before this version goes "public". bless ctype to avoid upmerge conflict, le sigh. --- strings/ctype.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'strings') diff --git a/strings/ctype.c b/strings/ctype.c index 4a54d898337..17ad1256e74 100644 --- a/strings/ctype.c +++ b/strings/ctype.c @@ -328,9 +328,8 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, ulong length) { my_wc_t wc; int chlen; - for (; (chlen= cs->cset->mb_wc(cs, &wc, - (const unsigned char *) str, - (const unsigned char *) strend)) > 0; + for (; + (chlen= cs->cset->mb_wc(cs, &wc, (uchar*) str, (uchar*) strend)) > 0; str+= chlen) { if (wc > 0x7F) -- cgit v1.2.1