summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 { \