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/ALc.c | |
parent | b6571904ce351ab9aa54e9d030deb89afb5c07d8 (diff) |
Use size_t where appropriate
Spotted by Alam Arias
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -169,11 +169,11 @@ static const ALCchar alcErrOutOfMemory[] = "Out of Memory"; /* Device lists. Sizes only include the first ending null character, not the * second */ static ALCchar *alcDeviceList; -static ALCuint alcDeviceListSize; +static size_t alcDeviceListSize; static ALCchar *alcAllDeviceList; -static ALCuint alcAllDeviceListSize; +static size_t alcAllDeviceListSize; static ALCchar *alcCaptureDeviceList; -static ALCuint alcCaptureDeviceListSize; +static size_t alcCaptureDeviceListSize; // Default is always the first in the list static ALCchar *alcDefaultDeviceSpecifier; static ALCchar *alcDefaultAllDeviceSpecifier; @@ -420,7 +420,7 @@ static void ProbeCaptureDeviceList() #define DECL_APPEND_LIST_FUNC(type) \ void Append##type##List(const ALCchar *name) \ { \ - ALCuint len = strlen(name); \ + size_t len = strlen(name); \ void *temp; \ \ if(len == 0) \ |