summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-12-04 18:14:08 +0000
committerMark Michelson <mmichelson@digium.com>2007-12-04 18:14:08 +0000
commit50ee083210bc77ff7389716dc4eaa72fc7e88756 (patch)
treed356a5143e986b3a5fed5501735cc098c81c96da /apps
parentcf6e8ae77e9c7ae60f3988a07e06d274a9385ecd (diff)
Suppress a compiler warning due to discarding a "const" qualifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 542301c04..f2cda82f8 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4283,7 +4283,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
/* play name if available, else play extension number */
snprintf(fn, sizeof(fn), "%s%s/%s/greet", VM_SPOOL_DIR, receiver->context, s);
- RETRIEVE(fn, -1, s, receiver->context);
+ RETRIEVE(fn, -1, (char *)s, receiver->context);
if (ast_fileexists(fn, NULL, NULL) > 0) {
res = ast_stream_and_wait(chan, fn, ecodes);
if (res) {