From: Gerd Moellmann Date: Tue, 9 Oct 2001 10:08:13 +0000 (+0000) Subject: (Fcurrent_time_zone): Cast isalnum() argument to X-Git-Tag: ttn-vms-21-2-B4~19623 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9fac18bfdfa03511c2ecc26131e816d1a84db8c8;p=emacs.git (Fcurrent_time_zone): Cast isalnum() argument to unsigned char. From Hallvard B Furuseth . --- diff --git a/src/editfns.c b/src/editfns.c index bb92f44381e..90be6ba4f21 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1780,7 +1780,7 @@ the data it can't find.") /* On Japanese w32, we can get a Japanese string as time zone name. Don't accept that. */ char *p; - for (p = s; *p && (isalnum (*p) || *p == ' '); ++p) + for (p = s; *p && (isalnum ((unsigned char)*p) || *p == ' '); ++p) ; if (p == s || *p) s = NULL;