From: Russell Bryant Date: Fri, 9 Jan 2009 22:14:38 +0000 (+0000) Subject: Make this compile for mvanbaak X-Git-Tag: 1.4.23-testing~2^2~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b28fcc36f239546d665c0b79d318df92cc84ace1;p=thirdparty%2Fasterisk.git Make this compile for mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@168198 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 643f7f8b50..6bf2837dcd 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) {