From: Ulrich Drepper Date: Thu, 5 Aug 1999 01:06:15 +0000 (+0000) Subject: Cast to uint32_t pointer, not short. RPC fields are always 32 bit. X-Git-Tag: cvs/glibc_2-1-2~180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdf3afded5c9427cbaba650ddf58de33849836b9;p=thirdparty%2Fglibc.git Cast to uint32_t pointer, not short. RPC fields are always 32 bit. --- diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index 1d9f38651bb..8559d2e34dc 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -289,7 +289,7 @@ call_again: /* * the transaction is the first thing in the out buffer */ - (*(u_short *) (cu->cu_outbuf))++; + (*(uint32_t *) (cu->cu_outbuf))++; if ((!XDR_PUTLONG (xdrs, (long *) &proc)) || (!AUTH_MARSHALL (cl->cl_auth, xdrs)) || (!(*xargs) (xdrs, argsp)))