From 99db0672c7866f6d622a3e342ad8a7b308e1f4dd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Aug 2006 20:01:04 +0000 Subject: make PA_LLIST_HEAD_INIT thread safe git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1258 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/llist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/llist.h') 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 { \ -- cgit