fix warnings about pointer signedness

This commit is contained in:
Denis Vlasenko
2008-05-09 18:07:15 +00:00
parent 98636eb08c
commit 023dc6798e
5 changed files with 6 additions and 6 deletions

View File

@ -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