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
This commit is contained in:
Joshua Colp
2006-09-26 20:38:06 +00:00
parent a0da756f2a
commit 12afd66083
2 changed files with 3 additions and 3 deletions

View File

@@ -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) );

View File

@@ -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;