aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-09 09:50:05 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-09 09:50:05 +0000
commit5512461f6aae783a762057838763cb7240cb509f (patch)
tree3a355bc2160eaec602bcf4d090f800bfb2f402a0 /sunrpc
parent4c95120ead7e04c137796008e6abaf67bedbe27b (diff)
downloadglibc-5512461f6aae783a762057838763cb7240cb509f.tar
glibc-5512461f6aae783a762057838763cb7240cb509f.tar.gz
glibc-5512461f6aae783a762057838763cb7240cb509f.tar.bz2
glibc-5512461f6aae783a762057838763cb7240cb509f.zip
Update.
* po/el.po: Update from translation team. 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> * intl/locale.alias: Fix slovenian entry [PR libc/948]. 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de> * 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 <aj@arthur.rhein-neckar.de> * 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 <Loic.Prylli@ens-lyon.fr>. 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_tcp.c2
-rw-r--r--sunrpc/pmap_rmt.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index 8fc312b9a2..1d00c79331 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 e0f52c9145..c35540e06e 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