From c5b7b06e5997cdbdf2de04222723b9b70b866fd3 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Tue, 12 Dec 2017 23:05:54 +0000 Subject: [PATCH] Whoops: correct macro expansion. Signed-off-by: Adrian Conlon --- inc/EightBitCompilerDefinitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/EightBitCompilerDefinitions.h b/inc/EightBitCompilerDefinitions.h index 965743f..a6b36a2 100644 --- a/inc/EightBitCompilerDefinitions.h +++ b/inc/EightBitCompilerDefinitions.h @@ -43,7 +43,7 @@ inline bool EightBit::oddParity(uint8_t value) { # define LIKELY(x) __builtin_expect(!!(x), 1) # define UNLIKELY(x) __builtin_expect(!!(x), 0) -# define EIGHTBIT_PARITY(x) __builtin_parity(value) +# define EIGHTBIT_PARITY(x) __builtin_parity(x) # define UNREACHABLE __builtin_unreachable();