summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-08-25 15:22:25 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-08-25 15:23:50 +0300
commit9897bcaa731d9dfe62cac61b56698799c8e6bac8 (patch)
tree8a17a513aacba9947ee846a2dbdb49f54e73d8a6
parenta589fa3e0bdb65f9aa9ad30f720bfc93788689e9 (diff)
downloadmicropython-9897bcaa731d9dfe62cac61b56698799c8e6bac8.tar.gz
micropython-9897bcaa731d9dfe62cac61b56698799c8e6bac8.zip
lib/utils/stdout_helpers: Fix function signature to match py/mphal.h.
-rw-r--r--lib/utils/stdout_helpers.c2
1 files changed, 1 insertions, 1 deletions
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);