Fixup use of 'u_int' to instead use 'unsigned int'
This commit is contained in:
parent
dfcb5b0412
commit
d242079387
@ -976,7 +976,7 @@ xdr_fhandle3 (XDR *xdrs, fhandle3 *objp)
|
|||||||
{
|
{
|
||||||
//register int32_t *buf;
|
//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 FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@ -988,7 +988,7 @@ xdr_mountres3_ok (XDR *xdrs, mountres3_ok *objp)
|
|||||||
|
|
||||||
if (!xdr_fhandle3 (xdrs, &objp->fhandle))
|
if (!xdr_fhandle3 (xdrs, &objp->fhandle))
|
||||||
return FALSE;
|
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))
|
sizeof (int), (xdrproc_t) xdr_int))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -61,7 +61,7 @@ extern "C" {
|
|||||||
typedef char fhandle[FHSIZE];
|
typedef char fhandle[FHSIZE];
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
u_int fhandle3_len;
|
unsigned int fhandle3_len;
|
||||||
char *fhandle3_val;
|
char *fhandle3_val;
|
||||||
} fhandle3;
|
} fhandle3;
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ enum mountstat3 {
|
|||||||
typedef enum mountstat3 mountstat3;
|
typedef enum mountstat3 mountstat3;
|
||||||
|
|
||||||
struct fhstatus {
|
struct fhstatus {
|
||||||
u_int fhs_status;
|
unsigned int fhs_status;
|
||||||
union {
|
union {
|
||||||
fhandle fhs_fhandle;
|
fhandle fhs_fhandle;
|
||||||
} fhstatus_u;
|
} fhstatus_u;
|
||||||
@ -90,7 +90,7 @@ typedef struct fhstatus fhstatus;
|
|||||||
struct mountres3_ok {
|
struct mountres3_ok {
|
||||||
fhandle3 fhandle;
|
fhandle3 fhandle;
|
||||||
struct {
|
struct {
|
||||||
u_int auth_flavours_len;
|
unsigned int auth_flavours_len;
|
||||||
int *auth_flavours_val;
|
int *auth_flavours_val;
|
||||||
} auth_flavours;
|
} auth_flavours;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user