Commit 59571ecf authored by bar@mysql.com's avatar bar@mysql.com

ctype-utf8.c:

  Char is unsigned by defeault on some platforms. Cast t to a signed type.
parent 8b6839e6
...@@ -2179,7 +2179,7 @@ int my_strcasecmp_utf8(CHARSET_INFO *cs, const char *s, const char *t) ...@@ -2179,7 +2179,7 @@ int my_strcasecmp_utf8(CHARSET_INFO *cs, const char *s, const char *t)
/* Do the same for the second string */ /* Do the same for the second string */
if (t[0] >= 0) if (((int8)t[0]) >= 0)
{ {
/* Convert single byte character into weight */ /* Convert single byte character into weight */
t_wc= plane00[(uchar) t[0]].tolower; t_wc= plane00[(uchar) t[0]].tolower;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment