aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r--Alc/alcConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index fadc3c9c..b7e131ef 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -212,7 +212,7 @@ void ReadALConfig(void)
#ifdef _WIN32
if(SHGetSpecialFolderPathA(NULL, buffer, CSIDL_APPDATA, FALSE) != FALSE)
{
- int p = strlen(buffer);
+ size_t p = strlen(buffer);
snprintf(buffer+p, sizeof(buffer)-p, "\\alsoft.ini");
f = fopen(buffer, "rt");
if(f)