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
This commit is contained in:
Kevin P. Fleming
2008-08-07 16:11:17 +00:00
parent b9b6f29610
commit 24dedd7016
+2 -2
View 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",