From 9f7811624af983ee6f12d205b955a645bfcc43f6 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 17 Oct 2015 18:27:56 +0200 Subject: [PATCH] add parentheses for explicit operator association --- tommath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tommath.h b/tommath.h index b806c3b..742bb9a 100644 --- a/tommath.h +++ b/tommath.h @@ -200,7 +200,7 @@ extern int KARATSUBA_MUL_CUTOFF, #endif /* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */ -#define MP_WARRAY (1 << ((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT) + 1)) +#define MP_WARRAY (1 << (((sizeof(mp_word) * CHAR_BIT) - (2 * DIGIT_BIT)) + 1)) /* the infamous mp_int structure */ typedef struct {