summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-11-21 02:11:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-11-21 02:11:03 +0000
commit7a7c60c773d8a9a3230c409d7368581a001b5b36 (patch)
treec52eba2079de6ae4c73713b5f261beaaf5adaf93 /lib
parent320ea2dc86a487f6a309f8e155d31404e6997a55 (diff)
prevent type overflow; dzerkel@columbus.rr.com
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/db/recno/rec_get.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/db/recno/rec_get.c b/lib/libc/db/recno/rec_get.c
index a5c61de4b1d..1f3943e52a2 100644
--- a/lib/libc/db/recno/rec_get.c
+++ b/lib/libc/db/recno/rec_get.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rec_get.c,v 1.5 1999/02/15 05:11:25 millert Exp $ */
+/* $OpenBSD: rec_get.c,v 1.6 2000/11/21 02:11:02 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94";
#else
-static char rcsid[] = "$OpenBSD: rec_get.c,v 1.5 1999/02/15 05:11:25 millert Exp $";
+static char rcsid[] = "$OpenBSD: rec_get.c,v 1.6 2000/11/21 02:11:02 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -189,7 +189,7 @@ __rec_vpipe(t, top)
{
DBT data;
recno_t nrec;
- indx_t len;
+ size_t len;
size_t sz;
int bval, ch;
u_char *p;