[asterisk-commits] mmichelson: trunk r90928 - /trunk/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 4 12:14:09 CST 2007
Author: mmichelson
Date: Tue Dec 4 12:14:08 2007
New Revision: 90928
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90928
Log:
Suppress a compiler warning due to discarding a "const" qualifier
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=90928&r1=90927&r2=90928
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Dec 4 12:14:08 2007
@@ -4283,7 +4283,7 @@
/* 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) {
More information about the asterisk-commits
mailing list