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/branches/1.4@163084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-12-11 16:46:22 +00:00
parent ef56f0dbd4
commit 60c9cae6d6

View File

@@ -2613,8 +2613,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",
new_chan->exten, new_chan->context, (time_t) (callstart - qe->start),
(time_t) (time(NULL) - callstart));
new_chan->exten, new_chan->context, (long) (callstart - qe->start),
(long) (time(NULL) - callstart));
update_queue(qe->parent, member, callcompletedinsl);