xids are u_int32_ts, which are not necessarily the same size as time_ts or

unsigned longs.  This fixes "ypbind -S ... -m" on sparc64.
This commit is contained in:
Bill Fenner 2002-09-16 21:39:42 +00:00
parent 42756860e3
commit bfe95ccc17
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103428

View File

@ -226,7 +226,7 @@ ypproc_domain_nonack_2_recv(domainname *argp, CLIENT *clnt)
struct ping_req {
struct sockaddr_in sin;
unsigned long xid;
u_int32_t xid;
};
int
@ -238,7 +238,7 @@ __yp_ping(struct in_addr *restricted_addrs, int cnt, char *dom, short *port)
int async;
struct sockaddr_in sin, *any = NULL;
int winner = -1;
time_t xid_seed, xid_lookup;
u_int32_t xid_seed, xid_lookup;
int sock, dontblock = 1;
CLIENT *clnt;
char *foo = dom;