summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/gccmacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/gccmacro.h')
-rw-r--r--src/pulsecore/gccmacro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/gccmacro.h b/src/pulsecore/gccmacro.h
index ecdc0578..f1646653 100644
--- a/src/pulsecore/gccmacro.h
+++ b/src/pulsecore/gccmacro.h
@@ -79,8 +79,8 @@
#ifndef PA_LIKELY
#ifdef __GNUC__
-#define PA_LIKELY(x) __builtin_expect((x),1)
-#define PA_UNLIKELY(x) __builtin_expect((x),0)
+#define PA_LIKELY(x) (__builtin_expect((x),1))
+#define PA_UNLIKELY(x) (__builtin_expect((x),0))
#else
#define PA_LIKELY(x) (x)
#define PA_UNLIKELY(x) (x)