diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 16:46:22 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 16:46:22 +0000 |
commit | 6b091d671d0474fd712103330b5548f7cc7b41cd (patch) | |
tree | 1b2d1d3921fcf15bbf85826fac20a0d3d6cb1cc7 /apps/app_queue.c | |
parent | f0e0c84625d5ed71efff315b6685ae20bc55d3b5 (diff) |
Revert this cast to long. Using time_t here causes build failures on a
FreeBSD 32-bit build.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@163084 f38db490-d61c-443f-a65b-d21fe96a405b
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 3636a2c27..43ca01dc8 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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); |