diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-07 22:19:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-07 22:19:23 +0000 |
commit | 8d96a006d836da29f792f3b5e8211163e85b03fc (patch) | |
tree | ebdc30ec4d811c9bc3f5bce8879134097f3739ee /lib | |
parent | b10ac36738ccd832733276df836919635743a80d (diff) | |
download | FreeBSD-src-8d96a006d836da29f792f3b5e8211163e85b03fc.zip FreeBSD-src-8d96a006d836da29f792f3b5e8211163e85b03fc.tar.gz |
Use size_t rather than a 16-bit data type fo the length.
PR: 9350
Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/db/recno/rec_get.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/db/recno/rec_get.c b/lib/libc/db/recno/rec_get.c index 0a8b880..3571d79 100644 --- a/lib/libc/db/recno/rec_get.c +++ b/lib/libc/db/recno/rec_get.c @@ -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; |