]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make this compile for mvanbaak
authorRussell Bryant <russell@russellbryant.com>
Fri, 9 Jan 2009 22:14:38 +0000 (22:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 9 Jan 2009 22:14:38 +0000 (22:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@168198 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_musiconhold.c

index 643f7f8b5042397b6409f3a2b369aad4b25d046d..6bf2837dcdeb805654fb6df740b582dc2c2e1a94 100644 (file)
@@ -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)
 {