aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alstring.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-30 12:53:52 -0700
committerChris Robinson <[email protected]>2014-04-30 12:53:52 -0700
commit804b08e0ca7931c304d6a2686b036a397cb65b0e (patch)
tree008776da97ac49d0379b3fe1c35553c5e189222d /Alc/alstring.h
parentf15067687326baa4ffe479e13411dbe588242e70 (diff)
Use ALboolean for al_string_empty's return type
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 ff40061a..5b37a483 100644
--- a/Alc/alstring.h
+++ b/Alc/alstring.h
@@ -18,7 +18,7 @@ typedef const_vector_al_string_char_type const_al_string;
inline ALsizei al_string_length(const_al_string str)
{ return VECTOR_SIZE(str); }
-inline ALsizei al_string_empty(const_al_string str)
+inline ALboolean al_string_empty(const_al_string str)
{ return al_string_length(str) == 0; }
inline const al_string_char_type *al_string_get_cstr(const_al_string str)