From: Jeffrey Altman Date: Mon, 4 Feb 2008 04:07:18 +0000 (+0000) Subject: STABLE14-rx-xdr_rec-type-error-20080203 X-Git-Tag: openafs-stable-1_4_7pre1~43 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=86899a10e274e4fe3a611ca76de691ca1f5fbdb0;p=packages%2Fo%2Fopenafs.git STABLE14-rx-xdr_rec-type-error-20080203 LICENSE MIT x_inline second parameter is unsigned (cherry picked from commit 647bbb509ddf59b80ce9965e89ac13ea26952e0f) --- diff --git a/src/rx/xdr_rec.c b/src/rx/xdr_rec.c index 52d65b3f7..4cc014ddc 100644 --- a/src/rx/xdr_rec.c +++ b/src/rx/xdr_rec.c @@ -108,7 +108,7 @@ static bool_t xdrrec_putbytes(XDR * xdrs, register caddr_t addr, register u_int len); static u_int xdrrec_getpos(register XDR * xdrs); static bool_t xdrrec_setpos(register XDR * xdrs, u_int pos); -static afs_int32 *xdrrec_inline(register XDR * xdrs, int len); +static afs_int32 *xdrrec_inline(register XDR * xdrs, u_int len); static void xdrrec_destroy(register XDR * xdrs); static bool_t flush_out(register RECSTREAM * rstrm, bool_t eor); static bool_t fill_input_buf(register RECSTREAM * rstrm); @@ -335,7 +335,7 @@ xdrrec_setpos(register XDR * xdrs, u_int pos) } static afs_int32 * -xdrrec_inline(register XDR * xdrs, int len) +xdrrec_inline(register XDR * xdrs, u_int len) { register RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; afs_int32 *buf = NULL;