summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstrunicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-19 00:21:29 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-19 00:25:33 +0000
commit2e2e404ff77e95dbe4fee0f19c91913a5888fb6f (patch)
tree32989d5722293edb145295ae137efc32cfdf6f3a /py/objstrunicode.c
parent02894b51f48779569e72dff2c2a1edfd6d74b6c1 (diff)
downloadmicropython-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.c2
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 = '"';
}