[asterisk-commits] mmichelson: branch 1.4 r163084 - /branches/1.4/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 11 10:46:23 CST 2008


Author: mmichelson
Date: Thu Dec 11 10:46:22 2008
New Revision: 163084

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163084
Log:
Revert this cast to long. Using time_t here causes build failures on a 
FreeBSD 32-bit build.


Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=163084&r1=163083&r2=163084
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Thu Dec 11 10:46:22 2008
@@ -2613,8 +2613,8 @@
 	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);
 	




More information about the asterisk-commits mailing list