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)
731 again: 731 again:
732 less_gets_pos = pos; 732 less_gets_pos = pos;
733 memset(input, 0, sizeof(input)); 733 memset(input, 0, sizeof(input));
734 getch_nowait(input, sizeof(input)); 734 getch_nowait((char *)input, sizeof(input));
735 less_gets_pos = -1; 735 less_gets_pos = -1;
736 736
737 /* Detect escape sequences (i.e. arrow keys) and handle 737 /* Detect escape sequences (i.e. arrow keys) and handle