DEVEL15-rx-xdr_rec-type-error-20080203

LICENSE MIT

x_inline second parameter is unsigned


(cherry picked from commit 647bbb509ddf59b80ce9965e89ac13ea26952e0f)
This commit is contained in:
Jeffrey Altman 2008-02-04 04:05:25 +00:00
parent 6e68f55194
commit 3c104051a2

View File

@ -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;