[asterisk-commits] mmichelson: trunk r259533 - /trunk/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 27 17:12:01 CDT 2010


Author: mmichelson
Date: Tue Apr 27 17:11:58 2010
New Revision: 259533

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259533
Log:
Shuffle some casts to make builds on bamboo happier.


Modified:
    trunk/main/ccss.c

Modified: trunk/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/ccss.c?view=diff&rev=259533&r1=259532&r2=259533
==============================================================================
--- trunk/main/ccss.c (original)
+++ trunk/main/ccss.c Tue Apr 27 17:11:58 2010
@@ -2350,13 +2350,13 @@
 
 static int offer_timer_expire(const void *data)
 {
-	const struct ast_cc_agent *agent = data;
+	struct ast_cc_agent *agent = (struct ast_cc_agent *) data;
 	struct cc_generic_agent_pvt *agent_pvt = agent->private_data;
 	ast_log_dynamic_level(cc_logger_level, "Core %d: Queuing change request because offer timer has expired.\n",
 			agent->core_id);
 	agent_pvt->offer_timer_id = -1;
 	ast_cc_failed(agent->core_id, "Generic agent %s offer timer expired", agent->device_name);
-	cc_unref((struct ast_cc_agent *)agent, "Remove scheduler's reference to the agent");
+	cc_unref(agent, "Remove scheduler's reference to the agent");
 	return 0;
 }
 




More information about the asterisk-commits mailing list