diff --git a/src/common/util.h b/src/common/util.h index 7db4f28647..b5e104beba 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -39,7 +39,7 @@ #error "Sorry; we don't support building with NDEBUG." #else #ifdef __GNUC__ -#define PREDICT_FALSE(x) PREDICT((x) != ((typeof(x)) 0), 0) +#define PREDICT_FALSE(x) PREDICT((x) == ((typeof(x)) 0), 0) #else #define PREDICT_FALSE(x) !(x) #endif