diff options
author | Damien George <damien.p.george@gmail.com> | 2015-03-19 00:21:29 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-19 00:25:33 +0000 |
commit | 2e2e404ff77e95dbe4fee0f19c91913a5888fb6f (patch) | |
tree | 32989d5722293edb145295ae137efc32cfdf6f3a /py/objstrunicode.c | |
parent | 02894b51f48779569e72dff2c2a1edfd6d74b6c1 (diff) | |
download | micropython-2e2e404ff77e95dbe4fee0f19c91913a5888fb6f.tar.gz micropython-2e2e404ff77e95dbe4fee0f19c91913a5888fb6f.zip |
py: Allow to compile with extra warnings (sign-compare, unused-param).
Diffstat (limited to 'py/objstrunicode.c')
-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 abef2343f2..1cf4ed4743 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -53,7 +53,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi has_double_quote = true; } } - int quote_char = '\''; + unichar quote_char = '\''; if (has_single_quote && !has_double_quote) { quote_char = '"'; } |