X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=apps%2Fapp_ices.c;h=b2a4e9b914d322d8ebea07f63ff062626012c2a5;hp=9397b3c7aae3e8f54c520374dd274fb7f03ffc57;hb=fd88390af7bcd02958b434d0b6fdb494e721c06c;hpb=3ff440bd37445c9261b64fcb08f0d20c976b34e2 diff --git a/apps/app_ices.c b/apps/app_ices.c index 9397b3c..b2a4e9b 100644 --- a/apps/app_ices.c +++ b/apps/app_ices.c @@ -145,7 +145,7 @@ static int ices_exec(struct ast_channel *chan, void *data) if (((char *)data)[0] == '/') ast_copy_string(filename, (char *) data, sizeof(filename)); else - snprintf(filename, sizeof(filename), "%s/%s", (char *)ast_config_AST_CONFIG_DIR, (char *)data); + snprintf(filename, sizeof(filename), "%s/%s", ast_config_AST_CONFIG_DIR, (char *)data); /* Placeholder for options */ c = strchr(filename, '|'); if (c)