Commit c4d6bb36 authored by rswindell's avatar rswindell
Browse files

Address GCC warning.

parent f29cccef
...@@ -166,7 +166,7 @@ int utf8_getc(const char *str, size_t len, uint32_t* val) ...@@ -166,7 +166,7 @@ int utf8_getc(const char *str, size_t len, uint32_t* val)
int ret; int ret;
if (len <= 0) if (len <= 0)
return 0; return 0;
p = str; p = (const unsigned char*)str;
/* Check syntax and work out the encoded value (if correct) */ /* Check syntax and work out the encoded value (if correct) */
if ((*p & 0x80) == 0) { if ((*p & 0x80) == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment