projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b8669b
)
remove a useless cast
author
Luigi Rizzo
<rizzo@icir.org>
Sat, 4 Nov 2006 01:32:31 +0000
(
01:32
+0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Sat, 4 Nov 2006 01:32:31 +0000
(
01:32
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47185
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/app.c
patch
|
blob
|
history
diff --git
a/main/app.c
b/main/app.c
index
60cfe23
..
9230e4a
100644
(file)
--- 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));