From 9897bcaa731d9dfe62cac61b56698799c8e6bac8 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 25 Aug 2016 15:22:25 +0300 Subject: [PATCH] lib/utils/stdout_helpers: Fix function signature to match py/mphal.h. --- lib/utils/stdout_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/stdout_helpers.c b/lib/utils/stdout_helpers.c index 6efe10b92c..5f7a17d320 100644 --- a/lib/utils/stdout_helpers.c +++ b/lib/utils/stdout_helpers.c @@ -11,7 +11,7 @@ // Send "cooked" string of given length, where every occurance of // LF character is replaced with CR LF. -void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) { +void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len) { while (len--) { if (*str == '\n') { mp_hal_stdout_tx_strn("\r", 1);