From: Joshua Colp Date: Tue, 26 Sep 2006 20:38:06 +0000 (+0000) Subject: Use proper type to represent the group variable (issue #8025 reported by makoto) X-Git-Tag: 1.2.13~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12afd6608345ee94c176e0b96c43a7c1282acbba;p=thirdparty%2Fasterisk.git 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 --- 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;