Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales

PR:		35421
This commit is contained in:
ache 2002-02-28 18:52:47 +00:00
parent 875d7f4ce6
commit 4ac9e16668

View File

@ -64,7 +64,7 @@ prn_printable(const char *s)
int n;
for (n = 0; (c = *s) != '\0'; ++s, ++n)
if (isprint(c))
if (isprint((unsigned char)c))
putchar(c);
else
putchar('?');