Skip to content

Commit 5351a48

Browse files
committed
stmhal: Change type of received chr from char to int.
1 parent f804833 commit 5351a48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stmhal/pyexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ int pyexec_raw_repl(void) {
127127
vstr_reset(&line);
128128
stdout_tx_str(">");
129129
for (;;) {
130-
char c = stdin_rx_chr();
130+
int c = stdin_rx_chr();
131131
if (c == CHAR_CTRL_A) {
132132
// reset raw REPL
133133
goto raw_repl_reset;

0 commit comments

Comments
 (0)