=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/init_disp.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/talk/init_disp.c 1998/08/18 04:02:14 1.5 +++ src/usr.bin/talk/init_disp.c 1998/08/31 08:00:46 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: init_disp.c,v 1.5 1998/08/18 04:02:14 millert Exp $ */ +/* $OpenBSD: init_disp.c,v 1.6 1998/08/31 08:00:46 deraadt Exp $ */ /* $NetBSD: init_disp.c,v 1.6 1994/12/09 02:14:17 jtc Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94"; #endif -static char rcsid[] = "$OpenBSD: init_disp.c,v 1.5 1998/08/18 04:02:14 millert Exp $"; +static char rcsid[] = "$OpenBSD: init_disp.c,v 1.6 1998/08/31 08:00:46 deraadt Exp $"; #endif /* not lint */ /* @@ -108,7 +108,7 @@ void set_edit_chars() { - char buf[3]; + u_char buf[3]; int cc; struct termios tty; @@ -116,7 +116,7 @@ buf[0] = my_win.cerase = tty.c_cc[VERASE] == (u_char)_POSIX_VDISABLE ? CERASE : tty.c_cc[VERASE]; buf[1] = my_win.kill = tty.c_cc[VKILL] == (u_char)_POSIX_VDISABLE - ? CKILL : tty.c_cc[CKILL]; + ? CKILL : tty.c_cc[VKILL]; buf[2] = my_win.werase = tty.c_cc[VWERASE] == (u_char)_POSIX_VDISABLE ? CWERASE : tty.c_cc[VWERASE]; cc = write(sockt, buf, sizeof(buf));