summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-18 14:21:06 -0700
committerChris Robinson <[email protected]>2010-03-18 14:21:06 -0700
commit781444d12c6dc5d37a78fbbc8c9f6c24e1f3bc4d (patch)
tree77e5421a46a9f8a402ff13d35338a73199840c15 /Alc/ALc.c
parentb6571904ce351ab9aa54e9d030deb89afb5c07d8 (diff)
Use size_t where appropriate
Spotted by Alam Arias
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 5eb87567..dd9c1998 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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) \