mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
ctype-utf8.c:
Char is unsigned by defeault on some platforms. Cast t to a signed type. strings/ctype-utf8.c: Char is unsigned by defeault on some platforms. Cast t to a signed type.
This commit is contained in:
parent
08c39dd283
commit
9f1751c5b6
1 changed files with 1 additions and 1 deletions
|
@ -2179,7 +2179,7 @@ int my_strcasecmp_utf8(CHARSET_INFO *cs, const char *s, const char *t)
|
|||
|
||||
/* Do the same for the second string */
|
||||
|
||||
if (t[0] >= 0)
|
||||
if (((int8)t[0]) >= 0)
|
||||
{
|
||||
/* Convert single byte character into weight */
|
||||
t_wc= plane00[(uchar) t[0]].tolower;
|
||||
|
|
Loading…
Reference in a new issue