better brackets on macros
@@ -49,13 +49,13 @@ extern inline void* trace_memcpy_check(void *restrict to, const void *restrict f
#define ne_check(a, b) do { if ( (a) == (b) ) { S2N_ERROR(S2N_ERR_SAFETY); } } while(0)
#define inclusive_range_check( low, n, high ) \
do { \
- __typeof (n) __tmp_n = n; \
+ __typeof( n ) __tmp_n = ( n ); \
gte_check(__tmp_n, low); \
lte_check(__tmp_n, high); \
} while (0)
#define exclusive_range_check( low, n, high ) \
do { \
- __typeof (n) __tmp_n = n; \
+ __typeof( n ) __tmp_n = ( n ); \
gt_check(__tmp_n, low); \
lt_check(__tmp_n, high); \
} while (0)
