Merged revisions 168198 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 9 Jan 2009 22:21:05 +0000 (22:21 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 9 Jan 2009 22:21:05 +0000 (22:21 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r168198 | russell | 2009-01-09 16:14:38 -0600 (Fri, 09 Jan 2009) | 2 lines

Make this compile for mvanbaak

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_musiconhold.c

index 58894a1..c53bf29 100644 (file)
@@ -187,7 +187,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)
 {