diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-04-13 20:21:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-04-13 20:21:20 +0000 |
commit | a0a4005e460021d4bf2e02d9dee6d5f45b2d8ce1 (patch) | |
tree | 42d8ce791fa028d060dc9b2eb9a00cf3eca0ec93 /lib/libedit/tty.c | |
parent | 0eaa5a30b1120a648055bfc7b64551d95c8f1181 (diff) |
signess bug; jwaterman@yaleroad.com
Diffstat (limited to 'lib/libedit/tty.c')
-rw-r--r-- | lib/libedit/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c index 6178b5995c6..8ea40de82bd 100644 --- a/lib/libedit/tty.c +++ b/lib/libedit/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.4 1997/06/29 23:40:52 millert Exp $ */ +/* $OpenBSD: tty.c,v 1.5 2001/04/13 20:21:19 deraadt Exp $ */ /* $NetBSD: tty.c,v 1.3 1997/04/11 17:52:49 christos Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: tty.c,v 1.4 1997/06/29 23:40:52 millert Exp $"; +static char rcsid[] = "$OpenBSD: tty.c,v 1.5 2001/04/13 20:21:19 deraadt Exp $"; #endif #endif /* not lint && not SCCSID */ @@ -756,7 +756,7 @@ tty_bind_char(el, force) { unsigned char *t_n = el->el_tty.t_c[ED_IO]; unsigned char *t_o = el->el_tty.t_ed.c_cc; - char new[2], old[2]; + unsigned char new[2], old[2]; ttymap_t *tp; el_action_t *dmap, *dalt, *map, *alt; new[1] = old[1] = '\0'; |