summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-27 02:45:37 +0000
committerMark Spencer <markster@digium.com>2003-09-27 02:45:37 +0000
commit55e664cb00355f097052b85fc43cc37de6b83746 (patch)
tree96fcf03c337e2c22cb66512afb6f102424b0d55e /apps/app_queue.c
parent78b6e77a95b0f7a8612530ba55077e2149d1d33f (diff)
Fix various compiler warnings (bug #322)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 17feca7ac..1c3ab73b2 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1384,7 +1384,7 @@ static int queues_show(int fd, int argc, char **argv)
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");