Skip to content

Commit 56486c9

Browse files
committed
Fix Ubuntu build
1 parent bf87383 commit 56486c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mgos_rpc_channel_uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void mg_rpc_channel_uart_dispatcher(int uart_no, void *arg) {
8484
mgos_uart_read_mbuf(uart_no, urxb, rx_av);
8585
size_t len_after = urxb->len;
8686
for (size_t i = len_before; i < len_after; i++) {
87-
if (urxb->buf[i] >= 0x80) {
87+
if ((uint8_t) urxb->buf[i] >= 0x80) {
8888
mbuf_clear(urxb); /* Not allowed by JSON - garbage. */
8989
break;
9090
}

0 commit comments

Comments
 (0)