aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-18 09:46:18 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-18 09:46:18 +0000
commit659205253cbd99d28a324c50ae111dad77b7370c (patch)
treed2fc0e3293737a646ab91cc4ef176382ed433047 /apps
parent7a8342612d9761622b8bc15f74fc9156e813286d (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: http://svn.digium.com/svn/asterisk/trunk@93582 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_adsiprog.c2
-rw-r--r--apps/app_ices.c2
2 files changed, 2 insertions, 2 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);
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 9397b3c7a..b2a4e9b91 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)