]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Cast to uint32_t pointer, not short. RPC fields are always 32 bit.
authorUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 01:06:15 +0000 (01:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 01:06:15 +0000 (01:06 +0000)
sunrpc/clnt_udp.c

index 1d9f38651bbaa6705a3de2f6f617f98079ede12f..8559d2e34dc67f8c40d9ef6d59962575ced8481b 100644 (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)))