From 38adb1ba79bbee843516a4b79a5fee4cc4b20139 Mon Sep 17 00:00:00 2001 From: "marko@hundin.mysql.fi" <> Date: Mon, 7 Mar 2005 12:03:33 +0200 Subject: InnoDB: Portability fixes for warnings reported on IA-64 Windows --- innobase/dict/dict0dict.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'innobase/dict') 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; } } -- cgit v1.2.1