about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-04-27 11:31:41 +0000
committerJakub Jelinek <jakub@redhat.com>2005-04-27 11:31:41 +0000
commit35278cc7d7fe81e01bb092e76b775c169e7e85f6 (patch)
tree6ec42ab959998df5c0182183807ee2b9efc4cc91 /sunrpc
parent536db0d3b5efac042be3bf1d6f99f9c418f76255 (diff)
downloadglibc-35278cc7d7fe81e01bb092e76b775c169e7e85f6.tar.gz
glibc-35278cc7d7fe81e01bb092e76b775c169e7e85f6.tar.xz
glibc-35278cc7d7fe81e01bb092e76b775c169e7e85f6.zip
Updated to fedora-glibc-20050427T1043
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;
     }