Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add another set of parens



details:   https://anonhg.NetBSD.org/src/rev/0c45682e8ed5
branches:  trunk
changeset: 326585:0c45682e8ed5
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 05 01:59:58 2014 +0000

description:
Add another set of parens

diffstat:

 sys/sys/cdefs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 586745c073be -r 0c45682e8ed5 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Wed Feb 05 00:18:09 2014 +0000
+++ b/sys/sys/cdefs.h   Wed Feb 05 01:59:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.117 2014/02/05 00:18:09 matt Exp $ */
+/*     $NetBSD: cdefs.h,v 1.118 2014/02/05 01:59:58 matt Exp $ */
 
 /*
  * Copyright (c) 1991, 1993
@@ -547,7 +547,7 @@
 #ifndef __ASSEMBLER__
 /* __BIT(n): nth bit, where __BIT(0) == 0x1. */
 #define        __BIT(__n)      \
-    (((uintmax_t)(__n) >= NBBY * sizeof(uintmax_t)) ? 0 : ((uintmax_t)1 << (uintmax_t)(__n & (NBBY * sizeof(uintmax_t) - 1))))
+    (((uintmax_t)(__n) >= NBBY * sizeof(uintmax_t)) ? 0 : ((uintmax_t)1 << (uintmax_t)((__n) & (NBBY * sizeof(uintmax_t) - 1))))
 
 /* __BITS(m, n): bits m through n, m < n. */
 #define        __BITS(__m, __n)        \



Home | Main Index | Thread Index | Old Index