From 023dc6798e05373bf33d64221bbe6a7265734c34 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 9 May 2008 18:07:15 +0000 Subject: fix warnings about pointer signedness --- miscutils/less.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') 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 -- cgit v1.1