From 24dedd7016dd2f24cbd5dc5fc886966e5898d2cf Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 7 Aug 2008 16:11:17 +0000 Subject: [PATCH] work around a bug in gcc-4.2.3 that incorrectly ignores the casting away of 'const' for pointers when the developer knows it is safe to do so git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136458 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 09a6304450..b8e74d5e22 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -952,9 +952,9 @@ static int create_dirpath(char *dest, int len, const char *context, const char * return 0; } -static const char *mbox(int id) +static char *mbox(int id) { - static const char *msgs[] = { + static char *msgs[] = { "INBOX", "Old", "Work",