diff options
author | Chris Robinson <[email protected]> | 2014-03-28 08:19:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-28 08:19:45 -0700 |
commit | 7570195b0973770e2b19551399fcf0e4d3b81a21 (patch) | |
tree | f8c764f6de040cc56ba9aa06c97480a98e9e525d /Alc | |
parent | d997be67fd8771f21791be73ef6e7bfd08105416 (diff) |
strlen returns size_t
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 3365f828..99ee2402 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -819,7 +819,7 @@ void al_string_copy(al_string *str, const_al_string from) void al_string_copy_cstr(al_string *str, const al_string_char_type *from) { - ALsizei len = strlen(from); + size_t len = strlen(from); VECTOR_RESERVE(*str, len+1); VECTOR_RESIZE(*str, len); memcpy(&VECTOR_FRONT(*str), from, len*sizeof(al_string_char_type)); |