aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 16:11:17 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-07 16:11:17 +0000
commit0296e0a4b3f84dc4b2201ea74334e19de9415de6 (patch)
tree278067559a8f55dc0c53df56841a3d4d437e20df
parentc0ecae0f2cdbc4c49192b344304acf99ab54307b (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@136458 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 09a630445..b8e74d5e2 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",