diff options
Diffstat (limited to 'usr.bin/more/output.c')
-rw-r--r-- | usr.bin/more/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/more/output.c b/usr.bin/more/output.c index 4524bd5..38142db 100644 --- a/usr.bin/more/output.c +++ b/usr.bin/more/output.c @@ -85,7 +85,7 @@ put_line() column = 0; for (p = line; *p != '\0'; p++) { - switch ((char)(c = *p & 0xff)) + switch ((char)(c = (unsigned char)*p)) { case UL_CHAR: ul_enter(); |