aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-21 14:48:34 +0000
committerAndreas Schwab1997-11-21 14:48:34 +0000
commite9aea0ef2477c19bc1d34fea34b16919c33463c5 (patch)
tree6558b48a19772780e05671aa9dc5ec1cda3e5f16
parent9b854db0ab8bfc34ddd1aebbedc0d806dcdb51e5 (diff)
downloademacs-e9aea0ef2477c19bc1d34fea34b16919c33463c5.tar.gz
emacs-e9aea0ef2477c19bc1d34fea34b16919c33463c5.zip
(doprnt1): Declare `charbuf' as unsigned char.
-rw-r--r--src/doprnt.c2
1 files changed, 1 insertions, 1 deletions
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)
111 char *fmtcpy; 111 char *fmtcpy;
112 int minlen; 112 int minlen;
113 int size; /* Field width factor; e.g., %90d */ 113 int size; /* Field width factor; e.g., %90d */
114 char charbuf[5]; /* Used for %c. */ 114 unsigned char charbuf[5]; /* Used for %c. */
115 115
116 if (format_end == 0) 116 if (format_end == 0)
117 format_end = format + strlen (format); 117 format_end = format + strlen (format);