From d82d6c701ddb1c392606929695d6b96cfa70e3c1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 30 Sep 2014 21:47:22 -0700 Subject: Use size_t for the vector size and capacity --- Alc/alstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/alstring.h') 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) -- cgit v1.2.3