From 12afd6608345ee94c176e0b96c43a7c1282acbba Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 26 Sep 2006 20:38:06 +0000 Subject: [PATCH] Use proper type to represent the group variable (issue #8025 reported by makoto) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43705 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- include/asterisk/channel.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 859b303128..20a11d289b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7743,7 +7743,7 @@ static int sip_show_objects(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } /*! \brief print_group: Print call group and pickup group ---*/ -static void print_group(int fd, unsigned int group, int crlf) +static void print_group(int fd, ast_group_t group, int crlf) { char buf[256]; ast_cli(fd, crlf ? "%s\r\n" : "%s\n", ast_print_group(buf, sizeof(buf), group) ); diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index ae2f7a7814..38b33ed2d3 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -389,8 +389,8 @@ struct ast_channel { /* A linked list for variables */ struct varshead varshead; - unsigned int callgroup; - unsigned int pickupgroup; + ast_group_t callgroup; + ast_group_t pickupgroup; /*! channel flags of AST_FLAG_ type */ unsigned int flags;