From ca84af553cbaae45b17cce04d457b2e61cc4277c Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 23 Oct 2017 18:05:31 -0400 Subject: Cleanup signed/unsigned mismatches, mostly in loop counters --- slip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slip.c') diff --git a/slip.c b/slip.c index b28b7e1..b53d54c 100644 --- a/slip.c +++ b/slip.c @@ -85,7 +85,7 @@ hal_error_t hal_slip_send(const uint8_t * const buf, const size_t len) /* for each byte in the packet, send the appropriate character * sequence */ - for (int i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { hal_error_t ret; if ((ret = hal_slip_send_char(buf[i])) != HAL_OK) return ret; -- cgit v1.2.3