Commit 00c904b4 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

objstrunicode: Signedness issues.

parent 1044c3df
...@@ -63,7 +63,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi ...@@ -63,7 +63,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi
quote_char = '"'; quote_char = '"';
} }
print(env, "%c", quote_char); print(env, "%c", quote_char);
const char *s = (const char *)str_data, *top = (const char *)str_data + str_len; const byte *s = str_data, *top = str_data + str_len;
while (s < top) { while (s < top) {
unichar ch; unichar ch;
ch = utf8_get_char(s); ch = utf8_get_char(s);
......
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