diff options
author | marko@hundin.mysql.fi <> | 2005-03-07 12:03:33 +0200 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-03-07 12:03:33 +0200 |
commit | 38adb1ba79bbee843516a4b79a5fee4cc4b20139 (patch) | |
tree | 4565fc5d7d0ed12c3a3ced426325b262f97ed87b /innobase/dict | |
parent | 473f2f940935f63cd1acd39a49f54c4e61aa19ec (diff) | |
download | mariadb-git-38adb1ba79bbee843516a4b79a5fee4cc4b20139.tar.gz |
InnoDB: Portability fixes for warnings reported on IA-64 Windows
Diffstat (limited to 'innobase/dict')
-rw-r--r-- | innobase/dict/dict0dict.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c index a73dd8b9dd9..2bceb432aa6 100644 --- a/innobase/dict/dict0dict.c +++ b/innobase/dict/dict0dict.c @@ -2292,8 +2292,9 @@ dict_scan_to( /* Outside quotes: look for the keyword. */ ulint i; for (i = 0; string[i]; i++) { - if (toupper((ulint)(ptr[i])) - != toupper((ulint)(string[i]))) { + if (toupper((int)(unsigned char)(ptr[i])) + != toupper((int)(unsigned char) + (string[i]))) { goto nomatch; } } |