summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-06-10 20:10:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-06-10 20:10:14 +0000
commit5d60561e240eeb96eba85385a047d4c80597e329 (patch)
treebdb68a1a26f52c515271dcf5804e9943a68a8680 /lib/libedit
parent52a326ce20051b15b4fbc13cc110b0102ee9bae2 (diff)
Change a long to and int.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c
index 55106d4cd73..5bfe0f7bb91 100644
--- a/lib/libedit/read.c
+++ b/lib/libedit/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.3 1997/03/14 05:12:58 millert Exp $ */
+/* $OpenBSD: read.c,v 1.4 1997/06/10 20:10:13 millert Exp $ */
/* $NetBSD: read.c,v 1.3 1997/01/14 04:17:25 lukem Exp $ */
/*-
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: read.c,v 1.3 1997/03/14 05:12:58 millert Exp $";
+static char rcsid[] = "$OpenBSD: read.c,v 1.4 1997/06/10 20:10:13 millert Exp $";
#endif
#endif /* not lint && not SCCSID */
@@ -325,7 +325,7 @@ el_gets(el, nread)
#ifdef FIONREAD
if (el->el_tty.t_mode == EX_IO && ma->level < 0) {
- long chrs = 0;
+ int chrs = 0;
(void)ioctl(el->el_infd, FIONREAD, (ioctl_t) &chrs);
if (chrs == 0) {