From 7a7c60c773d8a9a3230c409d7368581a001b5b36 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 21 Nov 2000 02:11:03 +0000 Subject: prevent type overflow; dzerkel@columbus.rr.com --- lib/libc/db/recno/rec_get.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3