diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-14 17:48:40 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-27 00:04:19 +0300 |
commit | 00c904b47a4cac2cdf276346039f470f59c90c04 (patch) | |
tree | 6535144c250c1c2ad8e6f297ccc6b247e04d1a87 /py | |
parent | 1044c3dfe6e93b143fc80b3cd8a5096da9dddc2b (diff) | |
download | micropython-00c904b47a4cac2cdf276346039f470f59c90c04.tar.gz micropython-00c904b47a4cac2cdf276346039f470f59c90c04.zip |
objstrunicode: Signedness issues.
Diffstat (limited to 'py')
-rw-r--r-- | py/objstrunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c index d70b33f8fe..334d9895e8 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -63,7 +63,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi 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) { unichar ch; ch = utf8_get_char(s); |