aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/nfsmount.c4
-rw-r--r--util-linux/nfsmount.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 0edfdf34a..4241f79f5 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;
diff --git a/util-linux/nfsmount.h b/util-linux/nfsmount.h
index b3d5a51e6..78a1bdfc5 100644
--- a/util-linux/nfsmount.h
+++ b/util-linux/nfsmount.h
@@ -61,7 +61,7 @@ extern "C" {
typedef char fhandle[FHSIZE];
typedef struct {
- u_int fhandle3_len;
+ unsigned int fhandle3_len;
char *fhandle3_val;
} fhandle3;
@@ -80,7 +80,7 @@ enum mountstat3 {
typedef enum mountstat3 mountstat3;
struct fhstatus {
- u_int fhs_status;
+ unsigned int fhs_status;
union {
fhandle fhs_fhandle;
} fhstatus_u;
@@ -90,7 +90,7 @@ typedef struct fhstatus fhstatus;
struct mountres3_ok {
fhandle3 fhandle;
struct {
- u_int auth_flavours_len;
+ unsigned int auth_flavours_len;
int *auth_flavours_val;
} auth_flavours;
};