summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/llist.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-17 20:01:04 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-17 20:01:04 +0000
commit99db0672c7866f6d622a3e342ad8a7b308e1f4dd (patch)
tree06c6562968e6c7fc4875f9917482fe7c04156b31 /src/pulsecore/llist.h
parent1c3bfc44dcbd760687ea841d893c35db510804af (diff)
make PA_LLIST_HEAD_INIT thread safe
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1258 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/llist.h')
-rw-r--r--src/pulsecore/llist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/llist.h b/src/pulsecore/llist.h
index c50b8a78..31279431 100644
--- a/src/pulsecore/llist.h
+++ b/src/pulsecore/llist.h
@@ -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 { \