stmhal: Change type of received chr from char to int.

This commit is contained in:
Damien George 2015-02-08 13:41:28 +00:00
parent f804833a97
commit 5351a48185

View File

@ -127,7 +127,7 @@ raw_repl_reset:
vstr_reset(&line); vstr_reset(&line);
stdout_tx_str(">"); stdout_tx_str(">");
for (;;) { for (;;) {
char c = stdin_rx_chr(); int c = stdin_rx_chr();
if (c == CHAR_CTRL_A) { if (c == CHAR_CTRL_A) {
// reset raw REPL // reset raw REPL
goto raw_repl_reset; goto raw_repl_reset;