summaryrefslogtreecommitdiff
path: root/main/ccss.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2010-04-27 22:11:58 +0000
committerMark Michelson <mmichelson@digium.com>2010-04-27 22:11:58 +0000
commit5fd23b2ed49bdbe2b07c77860d5c628c4551efeb (patch)
treed96365d7770916d2d8e3e9c3a21a270f2973ea54 /main/ccss.c
parent91b3550be564fcbd690073f8a05bd2f6963a7331 (diff)
Shuffle some casts to make builds on bamboo happier.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/ccss.c')
-rw-r--r--main/ccss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/ccss.c b/main/ccss.c
index 5430581dd..8dd048c9a 100644
--- a/main/ccss.c
+++ b/main/ccss.c
@@ -2350,13 +2350,13 @@ static int cc_generic_agent_init(struct ast_cc_agent *agent, struct ast_channel
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;
}