summaryrefslogtreecommitdiff
path: root/sunrpc/xdr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-06-27 09:15:54 +0000
committerJakub Jelinek <jakub@redhat.com>2005-06-27 09:15:54 +0000
commit5570fbd25a574d54ab135e1d3cdac0bc74029689 (patch)
tree6af711ed17dd644491e68d1a85c22e51bac87179 /sunrpc/xdr.c
parente4edec582dc1fb924a2cfbfb07409fd7b3c84a26 (diff)
Updated to fedora-glibc-20050627T0850
Diffstat (limited to 'sunrpc/xdr.c')
-rw-r--r--sunrpc/xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index 411cbe1ab1..1f25e3e9c0 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -239,7 +239,7 @@ xdr_hyper (XDR *xdrs, quad_t *llp)
if (!XDR_GETLONG(xdrs, &t1) || !XDR_GETLONG(xdrs, &t2))
return FALSE;
*llp = ((quad_t) t1) << 32;
- *llp |= (unsigned long int) t2;
+ *llp |= (uint32_t) t2;
return TRUE;
}
@@ -272,7 +272,7 @@ xdr_u_hyper (XDR *xdrs, u_quad_t *ullp)
if (!XDR_GETLONG(xdrs, &t1) || !XDR_GETLONG(xdrs, &t2))
return FALSE;
*ullp = ((u_quad_t) t1) << 32;
- *ullp |= (unsigned long int) t2;
+ *ullp |= (uint32_t) t2;
return TRUE;
}