mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
remove unnecessary (char *) casts for ast_config_AST_* variables.
There are some left in the .flex files, left to the maintainer... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user