aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alconfig.c b/Alc/alconfig.c
index c7c66653..3d0ed140 100644
--- a/Alc/alconfig.c
+++ b/Alc/alconfig.c
@@ -485,7 +485,7 @@ void ReadALConfig(void)
CFBundleRef mainBundle = CFBundleGetMainBundle();
if(mainBundle)
{
- unsigned char fileName[MAX_PATH];
+ unsigned char fileName[PATH_MAX];
CFURLRef configURL;
if((configURL=CFBundleCopyResourceURL(mainBundle, CFSTR(".alsoftrc"), CFSTR(""), NULL)) &&