make sure we send unsigned chars to writing routine (obs from Simon Strobl)

This commit is contained in:
Costa Vitor 2009-06-03 10:25:21 -05:00
parent 8a20da6639
commit efb72f7d0e

View File

@ -119,7 +119,7 @@ static void
wrputs(char *s, wrf writewch) /* writes a string */ wrputs(char *s, wrf writewch) /* writes a string */
{ {
while (*s) { while (*s) {
wrputc(*s++, writewch); wrputc((unsigned char)(*s++), writewch);
} }
} }