Mercurial > emacs
changeset 39720:e7c5b465528a
(Fcurrent_time_zone): Cast isalnum() argument to
unsigned char.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 09 Oct 2001 10:08:13 +0000 |
parents | 25739a6d05cf |
children | e33afc45e39d |
files | src/editfns.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Tue Oct 09 10:05:32 2001 +0000 +++ b/src/editfns.c Tue Oct 09 10:08:13 2001 +0000 @@ -1780,7 +1780,7 @@ /* 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;