]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
work around a bug in gcc-4.2.3 that incorrectly ignores the casting away of 'const...
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 7 Aug 2008 16:11:17 +0000 (16:11 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 7 Aug 2008 16:11:17 +0000 (16:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136458 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 09a6304450bd0bf640b26be83b53c63de928d7b6..b8e74d5e227fa10c46919a573881069cc49a1457 100644 (file)
@@ -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",