aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-07 22:26:48 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-07 22:26:48 +0000
commit4bb1ce1ef1a8a5517840da267e7455c062c8781f (patch)
treef6a23a8e05861d4ffe41fa613567105573690fee /apps
parent4d6996c27ad2cc1e0055b06b18522a44036c4f5c (diff)
%ld and time_t don't match, so cast the argument to long
to ease portability problems git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47295 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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);
}