aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-02-28 18:52:47 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-02-28 18:52:47 +0000
commit5f7ca9ae38bfa885ad89a3cc8b56b6ba88315068 (patch)
treeb24e0ab7c4f6bf0676a0b13cd8a1986c0257b776 /bin
parentf5d9a10b94fc9640a40a3c9b3d56811058adf382 (diff)
downloadsrc-5f7ca9ae38bfa885ad89a3cc8b56b6ba88315068.tar.gz
src-5f7ca9ae38bfa885ad89a3cc8b56b6ba88315068.zip
Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
PR: 35421
Notes
Notes: svn path=/head/; revision=91498
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index 172884c70af2..65841b361559 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('?');