[pulseaudio-commits] r1258 - /trunk/src/pulsecore/llist.h
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Aug 17 13:01:09 PDT 2006
Author: lennart
Date: Thu Aug 17 22:01:04 2006
New Revision: 1258
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1258&root=pulseaudio&view=rev
Log:
make PA_LLIST_HEAD_INIT thread safe
Modified:
trunk/src/pulsecore/llist.h
Modified: trunk/src/pulsecore/llist.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/llist.h?rev=1258&root=pulseaudio&r1=1257&r2=1258&view=diff
==============================================================================
--- trunk/src/pulsecore/llist.h (original)
+++ trunk/src/pulsecore/llist.h Thu Aug 17 22:01:04 2006
@@ -34,7 +34,7 @@
#define PA_LLIST_FIELDS(t) t *next, *prev
/* Initialize the list's head */
-#define PA_LLIST_HEAD_INIT(t,item) do { (item) = NULL; } while(0)
+#define PA_LLIST_HEAD_INIT(t,item) do { (item) = (t*) NULL; } while(0)
/* Initialize a list item */
#define PA_LLIST_INIT(t,item) do { \
More information about the pulseaudio-commits
mailing list