summaryrefslogtreecommitdiff
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-03-20 11:43:08 +0000
committerRussell Bryant <russell@russellbryant.com>2010-03-20 11:43:08 +0000
commit33aa72d5923abe9f9262fa71a02f2f800eae2614 (patch)
tree229b00d6e7498299c83267e9c181f1d09efdb496 /apps/app_followme.c
parentb6e5e180b9c81323190866b7a8cf9b47886581ff (diff)
Resolve compiler warnings on FreeBSD.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r--apps/app_followme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 11bffaabe..b6ad76705 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -990,12 +990,12 @@ static void end_bridge_callback(void *data)
ast_channel_lock(chan);
if (chan->cdr->answer.tv_sec) {
- snprintf(buf, sizeof(buf), "%ld", end - chan->cdr->answer.tv_sec);
+ snprintf(buf, sizeof(buf), "%ld", (long) end - chan->cdr->answer.tv_sec);
pbx_builtin_setvar_helper(chan, "ANSWEREDTIME", buf);
}
if (chan->cdr->start.tv_sec) {
- snprintf(buf, sizeof(buf), "%ld", end - chan->cdr->start.tv_sec);
+ snprintf(buf, sizeof(buf), "%ld", (long) end - chan->cdr->start.tv_sec);
pbx_builtin_setvar_helper(chan, "DIALEDTIME", buf);
}
ast_channel_unlock(chan);