aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-09-07 22:52:34 -0700
committerChris Robinson <[email protected]>2018-09-07 22:52:34 -0700
commit9054f4143424d2a7a34f6b0c79cda7a1fbf0b847 (patch)
tree165016101a683574d359468f0aea07e5f76c8a66 /Alc
parentfa7993fe3e526e0bb69fa9cb9055ee3f501c36b4 (diff)
PATH_MAX not MAX_PATH
Diffstat (limited to 'Alc')
-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)) &&