Use size_t rather than a 16-bit data type fo the length.
PR: 9350 Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
This commit is contained in:
parent
a5b64787e2
commit
d045c51555
@ -35,6 +35,10 @@
|
||||
static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#if !defined(lint)
|
||||
static char rcsid[] = "@(#)$FreeBSD$";
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <errno.h>
|
||||
@ -181,7 +185,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user