mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
Use integer to store the result of getch().
We need to use an integer to make the comparison against ERR work. MFC after: 3 months
This commit is contained in:
parent
43f65c0c3c
commit
03d26e9e38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226424
@ -47,8 +47,8 @@ static const char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
|
||||
int
|
||||
keyboard(void)
|
||||
{
|
||||
char ch, line[80];
|
||||
int oldmask;
|
||||
char line[80];
|
||||
int ch, oldmask;
|
||||
|
||||
for (;;) {
|
||||
col = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user