diff options
Diffstat (limited to 'src/pulsecore')
-rw-r--r-- | src/pulsecore/gccmacro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/gccmacro.h b/src/pulsecore/gccmacro.h index f1646653..f94a8c45 100644 --- a/src/pulsecore/gccmacro.h +++ b/src/pulsecore/gccmacro.h @@ -79,7 +79,7 @@ #ifndef PA_LIKELY #ifdef __GNUC__ -#define PA_LIKELY(x) (__builtin_expect((x),1)) +#define PA_LIKELY(x) (__builtin_expect(!!(x),1)) #define PA_UNLIKELY(x) (__builtin_expect((x),0)) #else #define PA_LIKELY(x) (x) |