From 5512461f6aae783a762057838763cb7240cb509f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Feb 1999 09:50:05 +0000 Subject: Update. * po/el.po: Update from translation team. 1999-02-09 Andreas Jaeger * intl/locale.alias: Fix slovenian entry [PR libc/948]. 1999-02-09 Andreas Jaeger * elf/sprof.c: assert.h isn't used anymore, remove inclusion. * inet/ruserpass.c: Likewise. * locale/programs/stringtrans.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/grpcache.c: Likewise. * nss/nss_files/files-XXX.c: Likewise. * stdlib/canonicalize.c: Likewise. * sysdeps/posix/sigwait.c: Likewise. 1999-02-09 Andreas Jaeger * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison even on 64 bit platforms. * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. Patch by Loic Prylli . 1999-02-09 Ulrich Drepper --- sunrpc/clnt_tcp.c | 2 +- sunrpc/pmap_rmt.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c index 8fc312b..1d00c79 100644 --- a/sunrpc/clnt_tcp.c +++ b/sunrpc/clnt_tcp.c @@ -300,7 +300,7 @@ call_again: continue; return ct->ct_error.re_status; } - if ((u_int32_t) reply_msg.rm_xid == x_id) + if ((u_int32_t) reply_msg.rm_xid == (u_int32_t) x_id) break; } diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index e0f52c9..c35540e 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -370,7 +370,7 @@ clnt_broadcast (prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) xdrmem_create (xdrs, inbuf, (u_int) inlen, XDR_DECODE); if (xdr_replymsg (xdrs, &msg)) { - if ((msg.rm_xid == xid) && + if (((u_int32_t) msg.rm_xid == (u_int32_t) xid) && (msg.rm_reply.rp_stat == MSG_ACCEPTED) && (msg.acpted_rply.ar_stat == SUCCESS)) { @@ -383,7 +383,7 @@ clnt_broadcast (prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) { #ifdef notdef /* some kind of deserialization problem ... */ - if (msg.rm_xid == xid) + if ((u_int32_t) msg.rm_xid == (u_int32_t) xid) fprintf (stderr, "Broadcast deserialization problem"); /* otherwise, just random garbage */ #endif -- cgit v1.1