Fix -Wsign-compare warnings

This commit is contained in:
Luke Wren
2021-02-11 15:50:05 +00:00
committed by graham sanderson
parent 6d272c056a
commit 2a243a33e2
6 changed files with 9 additions and 9 deletions

View File

@ -75,7 +75,7 @@ void stdio_uart_init_full(struct uart_inst *uart, uint baud_rate, int tx_pin, in
}
static void stdio_uart_out_chars(const char *buf, int length) {
for (uint i = 0; i <length; i++) {
for (int i = 0; i <length; i++) {
uart_putc(uart_default, buf[i]);
}
}