Fix various compiler warnings (bug #322)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-27 02:45:37 +00:00
parent 78b6e77a95
commit 55e664cb00
9 changed files with 39 additions and 26 deletions

View File

@@ -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");