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
1.4
Kevin P. Fleming 17 years ago
parent b9b6f29610
commit 24dedd7016

@ -952,9 +952,9 @@ static int create_dirpath(char *dest, int len, const char *context, const char *
return 0; return 0;
} }
static const char *mbox(int id) static char *mbox(int id)
{ {
static const char *msgs[] = { static char *msgs[] = {
"INBOX", "INBOX",
"Old", "Old",
"Work", "Work",

Loading…
Cancel
Save