diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-12-18 09:46:18 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-12-18 09:46:18 +0000 |
commit | fd88390af7bcd02958b434d0b6fdb494e721c06c (patch) | |
tree | d2fc0e3293737a646ab91cc4ef176382ed433047 /apps/app_adsiprog.c | |
parent | 3ff440bd37445c9261b64fcb08f0d20c976b34e2 (diff) |
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
Diffstat (limited to 'apps/app_adsiprog.c')
-rw-r--r-- | apps/app_adsiprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c index ad0837e6a..118b5a107 100644 --- a/apps/app_adsiprog.c +++ b/apps/app_adsiprog.c @@ -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); |