Module Name: src
Committed By: matt
Date: Wed Feb 5 01:59:58 UTC 2014
Modified Files:
src/sys/sys: cdefs.h
Log Message:
Add another set of parens
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/sys/cdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/cdefs.h
diff -u src/sys/sys/cdefs.h:1.117 src/sys/sys/cdefs.h:1.118
--- src/sys/sys/cdefs.h:1.117 Wed Feb 5 00:18:09 2014
+++ src/sys/sys/cdefs.h Wed Feb 5 01:59:58 2014
@@ -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) \