aboutsummaryrefslogtreecommitdiffstats
path: root/main/app.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 01:32:31 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 01:32:31 +0000
commit81c03c76845c0bb79405bed8aeb2278a57524e8d (patch)
tree85b934f20261bad37543e2aa05c8d6e1be3d0ac5 /main/app.c
parent5dabbe1ca3bec0bfe38a5678f582566e844f6127 (diff)
remove a useless cast
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47185 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/app.c')
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index 60cfe236f..9230e4ac3 100644
--- a/main/app.c
+++ b/main/app.c
@@ -344,7 +344,7 @@ int ast_linear_stream(struct ast_channel *chan, const char *filename, int fd, in
if (filename[0] == '/')
ast_copy_string(tmpf, filename, sizeof(tmpf));
else
- snprintf(tmpf, sizeof(tmpf), "%s/%s/%s", (char *)ast_config_AST_DATA_DIR, "sounds", filename);
+ snprintf(tmpf, sizeof(tmpf), "%s/%s/%s", ast_config_AST_DATA_DIR, "sounds", filename);
fd = open(tmpf, O_RDONLY);
if (fd < 0){
ast_log(LOG_WARNING, "Unable to open file '%s': %s\n", tmpf, strerror(errno));