diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-02-08 13:41:28 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-02-08 13:41:28 +0000 |
| commit | 5351a48185bef5abd935eb8ab06c2e12e9114d2f (patch) | |
| tree | 09cb15de20c20d9ba012467ec6677f115d167f02 /stmhal/pyexec.c | |
| parent | f804833a97c75882653e655ee95722c4cb7ae218 (diff) | |
stmhal: Change type of received chr from char to int.
Diffstat (limited to 'stmhal/pyexec.c')
| -rw-r--r-- | stmhal/pyexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c index a59df74d6..992462dd0 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; |
