diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-03-25 14:32:30 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-03-25 14:32:30 +0000 |
| commit | fe5fcbc78f514d9509ff192598ac7b157505622c (patch) | |
| tree | f363b6ac67db169d187448475144c9e78780b972 /lib/libc | |
| parent | f905bd50019a30e07276981a42b90c8ed4610882 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/vis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c index 066ea2d5a187..66954e7cd57e 100644 --- a/lib/libc/gen/vis.c +++ b/lib/libc/gen/vis.c @@ -51,6 +51,7 @@ vis(dst, c, flag, nextc) int c, nextc; register int flag; { + c = (unsigned char)c; if (isgraph(c) || ((flag & VIS_SP) == 0 && c == ' ') || ((flag & VIS_TAB) == 0 && c == '\t') || |
