From: Mark Spencer Date: Sat, 27 Sep 2003 02:24:53 +0000 (+0000) Subject: Fix printf to match int type (bug #247) X-Git-Tag: 0.7.0~449 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb4fccfd5d3ba6a33cad12d0e2a77b64de094c90;p=thirdparty%2Fasterisk.git Fix printf to match int type (bug #247) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1563 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 60afb6d234..17feca7ace 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1383,7 +1383,7 @@ static int queues_show(int fd, int argc, char **argv) pos = 1; ast_cli(fd, " Callers: \n"); for (qe = q->head; qe; qe = qe->next) - ast_cli(fd, " %d. %s (wait: %d:%2.2d)\n", pos++, qe->chan->name, + ast_cli(fd, " %d. %s (wait: %ld:%2.2ld)\n", pos++, qe->chan->name, (now - qe->start) / 60, (now - qe->start) % 60); } else ast_cli(fd, " No Callers\n");