Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc parenthesize.
details: https://anonhg.NetBSD.org/src/rev/3dc5d61cbea7
branches: trunk
changeset: 778184:3dc5d61cbea7
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 18 16:43:34 2012 +0000
description:
parenthesize.
diffstat:
lib/libc/rpc/xdr.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r 969d6511a471 -r 3dc5d61cbea7 lib/libc/rpc/xdr.c
--- a/lib/libc/rpc/xdr.c Sun Mar 18 16:30:54 2012 +0000
+++ b/lib/libc/rpc/xdr.c Sun Mar 18 16:43:34 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr.c,v 1.29 2012/03/13 21:13:45 christos Exp $ */
+/* $NetBSD: xdr.c,v 1.30 2012/03/18 16:43:34 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
static char *sccsid = "@(#)xdr.c 1.35 87/08/12";
static char *sccsid = "@(#)xdr.c 2.1 88/07/29 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: xdr.c,v 1.29 2012/03/13 21:13:45 christos Exp $");
+__RCSID("$NetBSD: xdr.c,v 1.30 2012/03/18 16:43:34 christos Exp $");
#endif
#endif
@@ -821,10 +821,10 @@
switch (xdrs->x_op) {
case XDR_ENCODE:
- ul[0] = (u_long)((uint64_t)*llp >> 32) &
- (uint64_t)0xffffffffULL;
- ul[1] = (u_long)((uint64_t)*llp) &
- (uint64_t)0xffffffffULL;
+ ul[0] = (u_long)(((uint64_t)*llp >> 32) &
+ (uint64_t)0xffffffffULL);
+ ul[1] = (u_long)(((uint64_t)*llp) &
+ (uint64_t)0xffffffffULL);
if (XDR_PUTLONG(xdrs, (long *)&ul[0]) == FALSE)
return (FALSE);
return (XDR_PUTLONG(xdrs, (long *)&ul[1]));
Home |
Main Index |
Thread Index |
Old Index