aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-27 02:45:37 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-27 02:45:37 +0000
commit9870b2521b30fb68be98596cdb8d4bfb62840702 (patch)
tree96fcf03c337e2c22cb66512afb6f102424b0d55e /apps
parent9f2fba7fb1d2d024ab4fb67c3adcb24031c1e88e (diff)
Fix various compiler warnings (bug #322)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1570 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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");