[asterisk-commits] rizzo: branch rizzo/astobj2 r47293 -
/team/rizzo/astobj2/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Nov 7 15:25:01 MST 2006
Author: rizzo
Date: Tue Nov 7 16:25:00 2006
New Revision: 47293
URL: http://svn.digium.com/view/asterisk?rev=47293&view=rev
Log:
%ld and time_t don't match, so cast the argument to long
to ease portability problems
about to do the same in trunk.
Modified:
team/rizzo/astobj2/apps/app_queue.c
Modified: team/rizzo/astobj2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/apps/app_queue.c?rev=47293&r1=47292&r2=47293&view=diff
==============================================================================
--- team/rizzo/astobj2/apps/app_queue.c (original)
+++ team/rizzo/astobj2/apps/app_queue.c Tue Nov 7 16:25:00 2006
@@ -2620,7 +2620,7 @@
/* 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);
}
More information about the asterisk-commits
mailing list