diff options
-rw-r--r-- | lib/libedit/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c index ba75562a012..d1b1f6d7283 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.37 2016/04/12 09:07:21 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.38 2016/04/13 09:42:41 schwarze Exp $ */ /* $NetBSD: read.c,v 1.92 2016/04/12 00:16:06 christos Exp $ */ /*- @@ -468,7 +468,7 @@ el_wgets(EditLine *el, int *nread) #ifdef FIONREAD if (el->el_tty.t_mode == EX_IO && el->el_chared.c_macro.level < 0) { - long chrs = 0; + int chrs = 0; (void) ioctl(el->el_infd, FIONREAD, &chrs); if (chrs == 0) { |