diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-12-11 16:47:34 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-12-11 16:47:34 +0000 |
commit | 1772fc56f01a7fff6fdc1ff3d6168143584dd047 (patch) | |
tree | 8deea274ed779fb85530b4dcfbd59fadf74a56f4 /apps/app_queue.c | |
parent | cda010c3b7923058fefcea56a1a184bcad7073f1 (diff) |
Merged revisions 163084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r163084 | mmichelson | 2008-12-11 10:46:22 -0600 (Thu, 11 Dec 2008) | 4 lines
Revert this cast to long. Using time_t here causes build failures on a
FreeBSD 32-bit build.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 425ec9b4d..fe039f750 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3298,8 +3298,8 @@ static void queue_transfer_fixup(void *data, struct ast_channel *old_chan, struc struct ast_datastore *datastore; ast_queue_log(qe->parent->name, qe->chan->uniqueid, member->membername, "TRANSFER", "%s|%s|%ld|%ld|%d", - new_chan->exten, new_chan->context, (time_t) (callstart - qe->start), - (time_t) (time(NULL) - callstart), qe->opos); + new_chan->exten, new_chan->context, (long) (callstart - qe->start), + (long) (time(NULL) - callstart), qe->opos); update_queue(qe->parent, member, callcompletedinsl); |