summaryrefslogtreecommitdiffstats
path: root/Alc/alstring.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-09-30 21:47:22 -0700
committerChris Robinson <[email protected]>2014-09-30 21:47:22 -0700
commitd82d6c701ddb1c392606929695d6b96cfa70e3c1 (patch)
treecc2f9da6a82aed4dd5b3a3beb0d2ead776c66d8b /Alc/alstring.h
parent4d36ef65b2ec1cd3122bf9ee615df452f003d014 (diff)
Use size_t for the vector size and capacity
Diffstat (limited to 'Alc/alstring.h')
-rw-r--r--Alc/alstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alstring.h b/Alc/alstring.h
index 32f4280a..8791fbc0 100644
--- a/Alc/alstring.h
+++ b/Alc/alstring.h
@@ -15,7 +15,7 @@ inline void al_string_deinit(al_string *str)
#define AL_STRING_INIT_STATIC() ((al_string)NULL)
#define AL_STRING_DEINIT(_x) al_string_deinit(&(_x))
-inline ALsizei al_string_length(const_al_string str)
+inline size_t al_string_length(const_al_string str)
{ return VECTOR_SIZE(str); }
inline ALboolean al_string_empty(const_al_string str)