summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-11-07 22:26:48 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-11-07 22:26:48 +0000
commit6b459ebd0c2a0d9a9363a014f9057aabcfa1e73d (patch)
treef6a23a8e05861d4ffe41fa613567105573690fee /apps/app_queue.c
parent908f176cf38eb1f81a3372a2ebf24ed17c75e8a6 (diff)
%ld and time_t don't match, so cast the argument to long
to ease portability problems git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index ff1623ca0..c8b5a86a1 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2620,7 +2620,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
/* use pbx_builtin_setvar to set a load of variables with one call */
if (qe->parent->setinterfacevar) {
snprintf(interfacevar,sizeof(interfacevar), "MEMBERINTERFACE=%s|MEMBERNAME=%s|MEMBERCALLS=%d|MEMBERLASTCALL=%ld|MEMBERPENALTY=%d|MEMBERDYNAMIC=%d",
- member->interface, member->membername, member->calls, member->lastcall, member->penalty, member->dynamic);
+ member->interface, member->membername, member->calls, (long)member->lastcall, member->penalty, member->dynamic);
pbx_builtin_setvar(qe->chan, interfacevar);
}