[asterisk-commits] russell: branch 1.4 r168198 - /branches/1.4/res/res_musiconhold.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 9 16:14:38 CST 2009


Author: russell
Date: Fri Jan  9 16:14:38 2009
New Revision: 168198

URL: http://svn.digium.com/view/asterisk?view=rev&rev=168198
Log:
Make this compile for mvanbaak

Modified:
    branches/1.4/res/res_musiconhold.c

Modified: branches/1.4/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_musiconhold.c?view=diff&rev=168198&r1=168197&r2=168198
==============================================================================
--- branches/1.4/res/res_musiconhold.c (original)
+++ branches/1.4/res/res_musiconhold.c Fri Jan  9 16:14:38 2009
@@ -171,7 +171,7 @@
 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)
 {




More information about the asterisk-commits mailing list