[Asterisk-cvs] asterisk/apps app_queue.c,1.36,1.37

markster at lists.digium.com markster at lists.digium.com
Fri Sep 26 21:44:25 CDT 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19473/apps

Modified Files:
	app_queue.c 
Log Message:
Fix various compiler warnings (bug #322)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- app_queue.c	27 Sep 2003 02:24:53 -0000	1.36
+++ app_queue.c	27 Sep 2003 02:45:37 -0000	1.37
@@ -1384,7 +1384,7 @@
 			ast_cli(fd, "   Callers: \n");
 			for (qe = q->head; qe; qe = qe->next) 
 				ast_cli(fd, "      %d. %s (wait: %ld:%2.2ld)\n", pos++, qe->chan->name,
-								(now - qe->start) / 60, (now - qe->start) % 60);
+								(long)(now - qe->start) / 60, (long)(now - qe->start) % 60);
 		} else
 			ast_cli(fd, "   No Callers\n");
 		ast_cli(fd, "\n");




More information about the svn-commits mailing list