diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-11-09 02:12:09 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-11-09 02:12:09 +0000 |
commit | 3c17c7d44284a739ec1453a7470333c73f072eeb (patch) | |
tree | 73cee38ef228fe61e4d820f43c869fc6e4b9fa95 /src/pulsecore/gccmacro.h | |
parent | ecf349dc6cdb6737f3854c5c4678d336dcf10938 (diff) |
fix CLAMP_LIKELY/UNLIKELY definition
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2036 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/gccmacro.h')
-rw-r--r-- | src/pulsecore/gccmacro.h | 4 |
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) |