aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
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 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