summaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/null.c')
-rw-r--r--Alc/effects/null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c
index aed19a82..f7262ca5 100644
--- a/Alc/effects/null.c
+++ b/Alc/effects/null.c
@@ -71,9 +71,10 @@ DEFINE_ALEFFECTSTATE_VTABLE(ALnullState);
/* Creates ALeffectState objects of the appropriate type. */
-ALeffectState *ALnullStateFactory_create(void)
+ALeffectState *ALnullStateFactory_create(ALnullStateFactory *factory)
{
ALnullState *state;
+ (void)factory;
state = calloc(1, sizeof(*state));
if(!state) return NULL;