summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index 41d1c82366..284671c730 100644
--- a/source3/include/debug.h
+++ b/source3/include/debug.h
@@ -172,8 +172,8 @@ extern bool *DEBUGLEVEL_CLASS_ISSET;
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else
-#define likely(x) x
-#define unlikely(x) x
+#define likely(x) (x)
+#define unlikely(x) (x)
#endif
#define DEBUGLVL( level ) \