From: Andreas Schwab Date: Fri, 21 Nov 1997 14:48:34 +0000 (+0000) Subject: (doprnt1): Declare `charbuf' as unsigned char. X-Git-Tag: emacs-20.3~2763 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9aea0ef2477c19bc1d34fea34b16919c33463c5;p=emacs.git (doprnt1): Declare `charbuf' as unsigned char. --- diff --git a/src/doprnt.c b/src/doprnt.c index 16295389513..b88acf42118 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -111,7 +111,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args) char *fmtcpy; int minlen; int size; /* Field width factor; e.g., %90d */ - char charbuf[5]; /* Used for %c. */ + unsigned char charbuf[5]; /* Used for %c. */ if (format_end == 0) format_end = format + strlen (format);