Fix compiler warning by eliminating the need for a cast.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2013-02-27 20:21:40 +00:00
parent e0b49e7331
commit 31f08344ee

View File

@@ -4638,7 +4638,7 @@ static char *handle_skinny_show_settings(struct ast_cli_entry *e, int cmd, struc
return CLI_SUCCESS;
}
static char *_skinny_message_set(int type, int fd, struct mansession *s, const struct message *m, int argc, const char *argv[])
static char *_skinny_message_set(int type, int fd, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_device *d;
char text_buf[32];
@@ -4685,10 +4685,10 @@ static char *handle_skinny_message_set(struct ast_cli_entry *e, int cmd, struct
return complete_skinny_show_device(a->line, a->word, a->pos, a->n);
}
return _skinny_message_set(0, a->fd, NULL, NULL, a->argc, (const char **) a->argv);
return _skinny_message_set(0, a->fd, NULL, NULL, a->argc, a->argv);
}
static char *_skinny_message_clear(int type, int fd, struct mansession *s, const struct message *m, int argc, const char *argv[])
static char *_skinny_message_clear(int type, int fd, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_device *d;
@@ -4721,7 +4721,7 @@ static char *handle_skinny_message_clear(struct ast_cli_entry *e, int cmd, struc
return complete_skinny_show_device(a->line, a->word, a->pos, a->n);
}
return _skinny_message_clear(0, a->fd, NULL, NULL, a->argc, (const char **) a->argv);
return _skinny_message_clear(0, a->fd, NULL, NULL, a->argc, a->argv);
}
static struct ast_cli_entry cli_skinny[] = {