projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519bb55
)
convert argument to boolean int in PA_UNLIKELY, too
author
Lennart Poettering
<lennart@poettering.net>
Tue, 21 Oct 2008 16:27:25 +0000
(18:27 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 21 Oct 2008 16:27:25 +0000
(18:27 +0200)
src/pulsecore/macro.h
patch
|
blob
|
history
diff --git
a/src/pulsecore/macro.h
b/src/pulsecore/macro.h
index
39e9b58
..
2d031da
100644
(file)
--- 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)