From 5351a48185bef5abd935eb8ab06c2e12e9114d2f Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 8 Feb 2015 13:41:28 +0000 Subject: [PATCH] stmhal: Change type of received chr from char to int. --- stmhal/pyexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;