diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index d47827d2d70cc576c7c6923d23c2c000d3084222..c68925f9926168f310d2d7a434a2c90f368bd2bb 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -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[] = {