summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-02-08 13:41:28 +0000
committerDamien George <damien.p.george@gmail.com>2015-02-08 13:41:28 +0000
commit5351a48185bef5abd935eb8ab06c2e12e9114d2f (patch)
tree09cb15de20c20d9ba012467ec6677f115d167f02
parentf804833a97c75882653e655ee95722c4cb7ae218 (diff)
downloadmicropython-5351a48185bef5abd935eb8ab06c2e12e9114d2f.tar.gz
micropython-5351a48185bef5abd935eb8ab06c2e12e9114d2f.zip
stmhal: Change type of received chr from char to int.
-rw-r--r--stmhal/pyexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c
index a59df74d6d..992462dd0b 100644
--- a/stmhal/pyexec.c
+++ b/stmhal/pyexec.c
@@ -127,7 +127,7 @@ raw_repl_reset:
vstr_reset(&line);
stdout_tx_str(">");
for (;;) {
- char c = stdin_rx_chr();
+ int c = stdin_rx_chr();
if (c == CHAR_CTRL_A) {
// reset raw REPL
goto raw_repl_reset;