summaryrefslogtreecommitdiffstats
path: root/usr.bin/more/ttyin.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/more/ttyin.c')
-rw-r--r--usr.bin/more/ttyin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/more/ttyin.c b/usr.bin/more/ttyin.c
index 2d3567e..51376cd 100644
--- a/usr.bin/more/ttyin.c
+++ b/usr.bin/more/ttyin.c
@@ -75,5 +75,5 @@ getchr()
quit();
}
} while (result != 1);
- return (c & 0xff);
+ return ((unsigned char)c);
}
OpenPOWER on IntegriCloud