changeset 20310:b6fd8353113b

(doprnt1): Declare `charbuf' as unsigned char.
author Andreas Schwab <schwab@suse.de>
date Fri, 21 Nov 1997 14:48:34 +0000
parents 51fb1f36e614
children 2841215c1cb4
files src/doprnt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doprnt.c	Fri Nov 21 14:46:31 1997 +0000
+++ b/src/doprnt.c	Fri Nov 21 14:48:34 1997 +0000
@@ -111,7 +111,7 @@
   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);