about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-26 04:26:13 +0000
committerRoland McGrath <roland@gnu.org>2005-04-26 04:26:13 +0000
commitb34cbd1428405d1c64b071364bc90fe064b8b0c9 (patch)
treeb8ab1a9852b47852641e2de9e97c5f7d63a6cb60 /sunrpc
parent5949daa081392aa2a250aa5064b715e97aa9acb8 (diff)
downloadglibc-b34cbd1428405d1c64b071364bc90fe064b8b0c9.tar.gz
glibc-b34cbd1428405d1c64b071364bc90fe064b8b0c9.tar.xz
glibc-b34cbd1428405d1c64b071364bc90fe064b8b0c9.zip
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
	(INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.

	* sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.

	* elf/dl-load.c: Revert last change.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index 2f894fbba7..411cbe1ab1 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -131,7 +131,7 @@ bool_t
 xdr_u_int (XDR *xdrs, u_int *up)
 {
 #if UINT_MAX < ULONG_MAX
-  u_long l;
+  long l;
 
   switch (xdrs->x_op)
     {
@@ -144,7 +144,7 @@ xdr_u_int (XDR *xdrs, u_int *up)
 	{
 	  return FALSE;
 	}
-      *up = (u_int) l;
+      *up = (u_int) (u_long) l;
     case XDR_FREE:
       return TRUE;
     }