diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-26 20:38:06 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-26 20:38:06 +0000 |
commit | 2acad9f88c60dc7c7346434e5c2844f26545fa96 (patch) | |
tree | 61f6bf6f2a2c27ad8c8c946a1e2b6d6cc09ea58e | |
parent | fcad1f5a37eabd810e4e780281c973f0e2548c89 (diff) |
Use proper type to represent the group variable (issue #8025 reported by makoto)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43705 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 | ||||
-rw-r--r-- | 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 859b30312..20a11d289 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 ae2f7a781..38b33ed2d 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; |