summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-11-12 21:56:05 +0000
committerthorpej <thorpej@NetBSD.org>1997-11-12 21:56:05 +0000
commit142a4c50c4f8fb4ddfaa0a5ce617a40cacffb89d (patch)
treeec4f25e7a33f2bc030155046692f02c853c2df29 /lib/libedit
parentdd951900028e70ad368f1ec87f9bbcfd053154c2 (diff)
el_gets() takes an int *, not a size_t *.
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/readline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/readline.c b/lib/libedit/readline.c
index 5273646b526..280a8b954f4 100644
--- a/lib/libedit/readline.c
+++ b/lib/libedit/readline.c
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.c,v 1.2 1997/10/23 22:51:59 christos Exp $ */
+/* $NetBSD: readline.c,v 1.3 1997/11/12 21:56:05 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: readline.c,v 1.2 1997/10/23 22:51:59 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.3 1997/11/12 21:56:05 thorpej Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -201,7 +201,7 @@ char *
readline(const char *prompt)
{
HistEvent ev;
- size_t count;
+ int count;
const char *ret;
if (e == NULL || h == NULL)