remove unnecessary (char *) casts for ast_config_AST_* variables.
[asterisk/asterisk.git] / apps / app_adsiprog.c
index ad0837e..118b5a1 100644 (file)
@@ -1356,7 +1356,7 @@ static struct adsi_script *compile_script(char *script)
        if (script[0] == '/')
                ast_copy_string(fn, script, sizeof(fn));
        else
-               snprintf(fn, sizeof(fn), "%s/%s", (char *)ast_config_AST_CONFIG_DIR, script);
+               snprintf(fn, sizeof(fn), "%s/%s", ast_config_AST_CONFIG_DIR, script);
 
        if (!(f = fopen(fn, "r"))) {
                ast_log(LOG_WARNING, "Can't open file '%s'\n", fn);