diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:23:09 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:23:09 +0000 |
commit | 7a8aa79199b65ea7a90b62b1ab044f8d64e2e1f3 (patch) | |
tree | 1266c95b0594183a40b33f6e3f0c024dd6f743d5 | |
parent | c4275cc0a2acc728fd05c441cb43b9566204c15d (diff) |
Make compilation succeed in dev-mode when IMAP storage is enabled.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@180567 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 992de3b5b..0d0ba405e 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1229,7 +1229,7 @@ static int messagecount(const char *context, const char *mailbox, const char *fo ast_mutex_lock(&vms_p->lock); pgm = mail_newsearchpgm (); hdr = mail_newsearchheader ("X-Asterisk-VM-Extension", (char *)(!ast_strlen_zero(vmu->imapvmshareid) ? vmu->imapvmshareid : mailbox)); - hdr->next = mail_newsearchheader("X-Asterisk-VM-Context", S_OR(context, "default")); + hdr->next = mail_newsearchheader("X-Asterisk-VM-Context", (char *) S_OR(context, "default")); pgm->header = hdr; if (fold != 1) { pgm->unseen = 1; |