Cast to uint32_t pointer, not short. RPC fields are always 32 bit.

This commit is contained in:
Ulrich Drepper 1999-08-05 01:06:15 +00:00
parent d91df270ea
commit cdf3afded5

View File

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