aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alconfig.c')
-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)) &&