diff options
author | Chris Robinson <[email protected]> | 2010-03-18 14:21:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-18 14:21:06 -0700 |
commit | 781444d12c6dc5d37a78fbbc8c9f6c24e1f3bc4d (patch) | |
tree | 77e5421a46a9f8a402ff13d35338a73199840c15 /Alc/alcConfig.c | |
parent | b6571904ce351ab9aa54e9d030deb89afb5c07d8 (diff) |
Use size_t where appropriate
Spotted by Alam Arias
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r-- | Alc/alcConfig.c | 2 |
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) |