aboutsummaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-05-09 18:07:15 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-05-09 18:07:15 +0000
commit023dc6798e05373bf33d64221bbe6a7265734c34 (patch)
treec111bcbb60f73790b29f7dd4f030f8c1e87b29a8 /miscutils/less.c
parent98636eb08c5ecc216e18970e11f7021206ac9b04 (diff)
downloadbusybox-023dc6798e05373bf33d64221bbe6a7265734c34.tar.gz
busybox-023dc6798e05373bf33d64221bbe6a7265734c34.tar.bz2
fix warnings about pointer signedness
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 37ec5d976..065bf6f38 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -731,7 +731,7 @@ static int less_getch(int pos)
again:
less_gets_pos = pos;
memset(input, 0, sizeof(input));
- getch_nowait(input, sizeof(input));
+ getch_nowait((char *)input, sizeof(input));
less_gets_pos = -1;
/* Detect escape sequences (i.e. arrow keys) and handle