summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-05-23 20:55:02 +0000
committerMark Michelson <mmichelson@digium.com>2008-05-23 20:55:02 +0000
commit4ad72ce1cf56377e92d2f7c2761be9c71538d046 (patch)
tree2d5e0de28ff3bb7e7966d3933dac354488ddc465 /apps
parent7e49fd2f0e31f7a1e881f8936e6ce69ec0a00639 (diff)
Get rid of warnings for those silly compilers which warn when freeing
a const pointer git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 2ba0a3cf9..b0fed2d47 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -9166,8 +9166,8 @@ static int handle_subscribe(void *datap)
AST_RWLIST_WRLOCK(&mwi_subs);
AST_RWLIST_INSERT_TAIL(&mwi_subs, mwi_sub, entry);
AST_RWLIST_UNLOCK(&mwi_subs);
- ast_free(p->mailbox);
- ast_free(p->context);
+ ast_free((void *) p->mailbox);
+ ast_free((void *) p->context);
ast_free(p);
return 0;
}