diff options
Diffstat (limited to 'util-linux/nfsmount.c')
-rw-r--r-- | util-linux/nfsmount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c index 0edfdf3..4241f79 100644 --- a/util-linux/nfsmount.c +++ b/util-linux/nfsmount.c @@ -976,7 +976,7 @@ xdr_fhandle3 (XDR *xdrs, fhandle3 *objp) { //register int32_t *buf; - if (!xdr_bytes (xdrs, (char **)&objp->fhandle3_val, (u_int *) &objp->fhandle3_len, FHSIZE3)) + if (!xdr_bytes (xdrs, (char **)&objp->fhandle3_val, (unsigned int *) &objp->fhandle3_len, FHSIZE3)) return FALSE; return TRUE; } @@ -988,7 +988,7 @@ xdr_mountres3_ok (XDR *xdrs, mountres3_ok *objp) if (!xdr_fhandle3 (xdrs, &objp->fhandle)) return FALSE; - if (!xdr_array (xdrs, (char **)&objp->auth_flavours.auth_flavours_val, (u_int *) &objp->auth_flavours.auth_flavours_len, ~0, + if (!xdr_array (xdrs, (char **)&objp->auth_flavours.auth_flavours_val, (unsigned int *) &objp->auth_flavours.auth_flavours_len, ~0, sizeof (int), (xdrproc_t) xdr_int)) return FALSE; return TRUE; |