diff options
Diffstat (limited to 'utils/utf8.c')
-rw-r--r-- | utils/utf8.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/utf8.c b/utils/utf8.c index 3b83c95e3..e734cfad6 100644 --- a/utils/utf8.c +++ b/utils/utf8.c @@ -44,9 +44,10 @@ static utf8_convert_ret utf8_convert(const char *string, size_t len, * \param l Length of sequence * \return UCS4 character */ -size_t utf8_to_ucs4(const char *s, size_t l) +size_t utf8_to_ucs4(const char *s_in, size_t l) { size_t c = 0; + const unsigned char *s = (const unsigned char *) s_in; if (!s) assert(0); |