summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-09 18:07:15 +0000
committerDenis Vlasenko2008-05-09 18:07:15 +0000
commit023dc6798e05373bf33d64221bbe6a7265734c34 (patch)
treec111bcbb60f73790b29f7dd4f030f8c1e87b29a8 /miscutils
parent98636eb08c5ecc216e18970e11f7021206ac9b04 (diff)
downloadbusybox-023dc6798e05373bf33d64221bbe6a7265734c34.zip
busybox-023dc6798e05373bf33d64221bbe6a7265734c34.tar.gz
fix warnings about pointer signedness
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 37ec5d9..065bf6f 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