[asterisk-commits] file: trunk r184639 - /trunk/bridges/bridge_softmix.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 27 09:18:47 CDT 2009


Author: file
Date: Fri Mar 27 09:18:40 2009
New Revision: 184639

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184639
Log:
Psst, this doesn't actually need to cast again.

Modified:
    trunk/bridges/bridge_softmix.c

Modified: trunk/bridges/bridge_softmix.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/bridges/bridge_softmix.c?view=diff&rev=184639&r1=184638&r2=184639
==============================================================================
--- trunk/bridges/bridge_softmix.c (original)
+++ trunk/bridges/bridge_softmix.c Fri Mar 27 09:18:40 2009
@@ -199,7 +199,7 @@
 /*! \brief Function which acts as the mixing thread */
 static int softmix_bridge_thread(struct ast_bridge *bridge)
 {
-	int timingfd = (unsigned short)(unsigned long)bridge->bridge_pvt;
+	int timingfd = (unsigned long)bridge->bridge_pvt;
 
 	ast_timer_set_rate(timingfd, (1000 / SOFTMIX_INTERVAL));
 




More information about the asterisk-commits mailing list