[pulseaudio-commits] r2150 - /branches/prepare-0.9.10/src/pulsecore/gccmacro.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Mar 27 16:18:28 PDT 2008


Author: lennart
Date: Fri Mar 28 00:18:27 2008
New Revision: 2150

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2150&root=pulseaudio&view=rev
Log:
merge r2090 from trunk

Modified:
    branches/prepare-0.9.10/src/pulsecore/gccmacro.h

Modified: branches/prepare-0.9.10/src/pulsecore/gccmacro.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/prepare-0.9.10/src/pulsecore/gccmacro.h?rev=2150&root=pulseaudio&r1=2149&r2=2150&view=diff
==============================================================================
--- branches/prepare-0.9.10/src/pulsecore/gccmacro.h (original)
+++ branches/prepare-0.9.10/src/pulsecore/gccmacro.h Fri Mar 28 00:18:27 2008
@@ -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)




More information about the pulseaudio-commits mailing list