diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-21 18:27:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-23 23:03:08 +0200 |
commit | ab1139ffd3b33e55cd0a480e6e6ed86f5f1b53f1 (patch) | |
tree | 26a3254a8ae81e2a9683c1e244d1ae6546003d65 /src | |
parent | 74898ff657ff85a3a3ce481d74d75438d79fde25 (diff) |
convert argument to boolean int in PA_UNLIKELY, too
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/macro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h index 39e9b587..2d031dad 100644 --- a/src/pulsecore/macro.h +++ b/src/pulsecore/macro.h @@ -40,7 +40,7 @@ #ifndef PA_LIKELY #ifdef __GNUC__ #define PA_LIKELY(x) (__builtin_expect(!!(x),1)) -#define PA_UNLIKELY(x) (__builtin_expect((x),0)) +#define PA_UNLIKELY(x) (__builtin_expect(!!(x),0)) #else #define PA_LIKELY(x) (x) #define PA_UNLIKELY(x) (x) |