From 9f0045a9657c790a80546efb3134e496d9574271 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Mar 2008 23:18:27 +0000 Subject: merge r2090 from trunk git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/prepare-0.9.10@2150 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/gccmacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit