]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
eliminate compiler warning introduced by recent changes
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 28 Sep 2006 16:32:44 +0000 (16:32 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 28 Sep 2006 16:32:44 +0000 (16:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cli.c

diff --git a/cli.c b/cli.c
index e2a646d5b64e1acb00b9451db020f7707d8fd79f..371d73e369863c5b2d52123819831ee3d85d535f 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -784,7 +784,7 @@ static int handle_showchan(int fd, int argc, char *argv[])
                c->fds[0], c->fin & 0x7fffffff, (c->fin & 0x80000000) ? " (DEBUGGED)" : "",
                c->fout & 0x7fffffff, (c->fout & 0x80000000) ? " (DEBUGGED)" : "", (long)c->whentohangup,
                cdrtime, c->_bridge ? c->_bridge->name : "<none>", ast_bridged_channel(c) ? ast_bridged_channel(c)->name : "<none>", 
-               c->context, c->exten, c->priority, c->callgroup, c->pickupgroup, ( c->appl ? c->appl : "(N/A)" ),
+               c->context, c->exten, c->priority, (int) c->callgroup, (int) c->pickupgroup, ( c->appl ? c->appl : "(N/A)" ),
                ( c-> data ? (!ast_strlen_zero(c->data) ? c->data : "(Empty)") : "(None)"),
                (ast_test_flag(c, AST_FLAG_BLOCKING) ? c->blockproc : "(Not Blocking)"));