Skip to content

Commit

Permalink
call_center: fix compile warning for unsigned printing
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Mar 20, 2014
1 parent c2b3726 commit 00c42e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/call_center/call_center.c
Expand Up @@ -784,7 +784,7 @@ static int w_handle_call(struct sip_msg *msg, char *flow_var)
call->eta = (unsigned int) (( flow->avg_call_duration * (float)get_stat_val(flow->st_queued_calls) ) /
(float)flow->logged_agents);

LM_DBG("avg_call_duration=%.2f queued_calls=%d logedin_agents=%d\n",
LM_DBG("avg_call_duration=%.2f queued_calls=%lu logedin_agents=%u\n",
flow->avg_call_duration, get_stat_val(flow->st_queued_calls),
flow->logged_agents);

Expand Down

0 comments on commit 00c42e3

Please sign in to comment.