aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/xdr_rec.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-16 10:25:28 +0000
committerRoland McGrath <roland@gnu.org>2002-12-16 10:25:28 +0000
commit55187f6263c7ed607f814becbb77e89a65561290 (patch)
tree29889aab1a6ec86fb82a3600ad6415b9d802c0da /sunrpc/xdr_rec.c
parent81fa937122f9982965b99837dc5942184f8c2ff7 (diff)
downloadglibc-55187f6263c7ed607f814becbb77e89a65561290.tar
glibc-55187f6263c7ed607f814becbb77e89a65561290.tar.gz
glibc-55187f6263c7ed607f814becbb77e89a65561290.tar.bz2
glibc-55187f6263c7ed607f814becbb77e89a65561290.zip
2002-12-16 Roland McGrath <roland@redhat.com>
* sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type. * sunrpc/xdr_rec.c (xdrrec_inline): Likewise. * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r--sunrpc/xdr_rec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index c99c4acfd5..5e59c88523 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -61,7 +61,7 @@ static bool_t xdrrec_getbytes (XDR *, caddr_t, u_int);
static bool_t xdrrec_putbytes (XDR *, const char *, u_int);
static u_int xdrrec_getpos (const XDR *);
static bool_t xdrrec_setpos (XDR *, u_int);
-static int32_t *xdrrec_inline (XDR *, int);
+static int32_t *xdrrec_inline (XDR *, u_int);
static void xdrrec_destroy (XDR *);
static bool_t xdrrec_getint32 (XDR *, int32_t *);
static bool_t xdrrec_putint32 (XDR *, const int32_t *);
@@ -373,7 +373,7 @@ xdrrec_setpos (XDR *xdrs, u_int pos)
}
static int32_t *
-xdrrec_inline (XDR *xdrs, int len)
+xdrrec_inline (XDR *xdrs, u_int len)
{
RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private;
int32_t *buf = NULL;