Make xid be a uint32_t and not either unsigned long or unsigned int

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2013-10-21 19:15:11 -07:00
parent 31820d2727
commit b93082da2b
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ struct rpc_context {
void *connect_data;
struct AUTH *auth;
unsigned long xid;
uint32_t xid;
/* buffer used for encoding RPC PDU */
char *encodebuf;
@ -98,7 +98,7 @@ struct rpc_context {
struct rpc_pdu {
struct rpc_pdu *next;
unsigned long xid;
uint32_t xid;
ZDR zdr;
uint32_t written;

View File

@ -230,7 +230,7 @@ int rpc_process_pdu(struct rpc_context *rpc, char *buf, int size)
struct rpc_pdu *pdu;
ZDR zdr;
int pos, recordmarker = 0;
unsigned int xid;
uint32_t xid;
char *reasbuf = NULL;
assert(rpc->magic == RPC_CONTEXT_MAGIC);