diff options
author | ache <ache@FreeBSD.org> | 2002-02-28 18:52:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-02-28 18:52:47 +0000 |
commit | 4ac9e16668da661dd1ff3e813544887a31af82c1 (patch) | |
tree | b24e0ab7c4f6bf0676a0b13cd8a1986c0257b776 /bin | |
parent | 875d7f4ce697869987ca2f93c53a112d085d0de9 (diff) | |
download | FreeBSD-src-4ac9e16668da661dd1ff3e813544887a31af82c1.zip FreeBSD-src-4ac9e16668da661dd1ff3e813544887a31af82c1.tar.gz |
Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
PR: 35421
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ls/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c index 172884c..65841b3 100644 --- a/bin/ls/util.c +++ b/bin/ls/util.c @@ -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('?'); |