diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-03-27 23:18:27 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-03-27 23:18:27 +0000 |
commit | 9f0045a9657c790a80546efb3134e496d9574271 (patch) | |
tree | 279869b6ea8c5f062e43cef79e224a50734f918d /src/pulsecore/gccmacro.h | |
parent | f10b531df0dccc39c4340b9725e4bde74fbde8c7 (diff) |
merge r2090 from trunk
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/prepare-0.9.10@2150 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/gccmacro.h')
-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) |