summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-10-23 10:24:59 +0500
committerunknown <bar@mysql.com>2004-10-23 10:24:59 +0500
commit9f1751c5b66a0567456d668ad5e6bde930b35cad (patch)
tree20a78924094523d7c493494025d45898929ddaf0 /strings
parent08c39dd283a8723912f5ce798701af3d25aa2747 (diff)
downloadmariadb-git-9f1751c5b66a0567456d668ad5e6bde930b35cad.tar.gz
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.
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c
index 3ca6c5d279f..b3097649158 100644
--- a/strings/ctype-utf8.c
+++ b/strings/ctype-utf8.c
@@ -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;