mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
convert argument to boolean int in PA_UNLIKELY, too
This commit is contained in:
parent
519bb556cd
commit
7fecb2340e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue