diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 0d2cc8eab9..0eea4e9263 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5029,7 +5029,7 @@ static int imap_remove_file(char *dir, int msgnum) return 0; } -static int imap_retrieve_file (char *dir, int msgnum, char *mailbox, char *context) +static int imap_retrieve_file (char *dir, int msgnum, const char *mailbox, char *context) { struct ast_vm_user *vmu; struct vm_state *vms_p;