summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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;