diff options
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 643f7f8b5..6bf2837dc 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -171,7 +171,7 @@ static struct ao2_container *mohclasses; static int reload(void); #define mohclass_ref(class) (ao2_ref((class), +1), class) -#define mohclass_unref(class) (ao2_ref((class), -1), NULL) +#define mohclass_unref(class) (ao2_ref((class), -1), (struct mohclass *) NULL) static void moh_files_release(struct ast_channel *chan, void *data) { |