From a1e11f68467c541a99179190a12af372bb97d71a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Oct 2021 17:19:14 -0400 Subject: Be explicit about operator precedence --- include/zix/bitset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zix') diff --git a/include/zix/bitset.h b/include/zix/bitset.h index 56658da..38d612e 100644 --- a/include/zix/bitset.h +++ b/include/zix/bitset.h @@ -30,7 +30,7 @@ typedef uint8_t ZixBitsetTally; /// The number of bitset elements needed for the given number of bits #define ZIX_BITSET_ELEMS(n_bits) \ (((n_bits) / ZIX_BITSET_BITS_PER_ELEM) + \ - ((n_bits) % ZIX_BITSET_BITS_PER_ELEM ? 1 : 0)) + (((n_bits) % ZIX_BITSET_BITS_PER_ELEM) ? 1 : 0)) /// Clear a Bitset ZIX_API -- cgit v1.2.1