diff --git a/src/pulsecore/llist.h b/src/pulsecore/llist.h index c50b8a78e..312794312 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 { \