From 356b686774968d312476b66d0c1fb1f21c46305a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 12 Feb 2001 00:59:18 +0000 Subject: Clean up lots of warnings. --- libc/inet/rpc/xdr_mem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libc/inet/rpc/xdr_mem.c') diff --git a/libc/inet/rpc/xdr_mem.c b/libc/inet/rpc/xdr_mem.c index 17707f8ff..5dbebae8d 100644 --- a/libc/inet/rpc/xdr_mem.c +++ b/libc/inet/rpc/xdr_mem.c @@ -41,7 +41,7 @@ * */ - +#include #include #include #include @@ -52,7 +52,7 @@ static bool_t xdrmem_getbytes(); static bool_t xdrmem_putbytes(); static u_int xdrmem_getpos(); static bool_t xdrmem_setpos(); -static long *xdrmem_inline(); +static int32_t *xdrmem_inline(); static void xdrmem_destroy(); static struct xdr_ops xdrmem_ops = { @@ -163,15 +163,15 @@ u_int pos; return (TRUE); } -static long *xdrmem_inline(xdrs, len) +static int32_t *xdrmem_inline(xdrs, len) register XDR *xdrs; int len; { - long *buf = 0; + int32_t *buf = 0; if (xdrs->x_handy >= len) { xdrs->x_handy -= len; - buf = (long *) xdrs->x_private; + buf = (int32_t *) xdrs->x_private; xdrs->x_private += len; } return (buf); -- cgit v1.2.3