aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sunrpc/clnt_tcp.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 69b1fef..97234e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1999-01-29 Ulrich Drepper <drepper@cygnus.com>
+ * sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison
+ conflict for 64 bit platforms.
+ Patch by trott@rottmann.hi.shuttle.de.
+
* sysdeps/unix/sparc/vfork.S: Correct comment.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork.
@@ -19,7 +23,7 @@
duplicate the code.
* sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
- * sysdeps/i386/Versions: Exports functions from libgcc sinc ethis
+ * sysdeps/i386/Versions: Exports functions from libgcc since this
is what was done in glibc 2.0.
* sysdeps/m68k/Versions: Likewise. New file.
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index abb2849..8fc312b 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 (reply_msg.rm_xid == x_id)
+ if ((u_int32_t) reply_msg.rm_xid == x_id)
break;
}