From 8298251215a1606b50d8110665dc6bff9e31ab0e Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Fri, 14 Oct 2016 00:07:32 +1100
Subject: [PATCH] stmhal/pybstdio: Use size_t instead of mp_uint_t.

---
 stmhal/pybstdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c
index cf31f53ac..9cc787ce2 100644
--- a/stmhal/pybstdio.c
+++ b/stmhal/pybstdio.c
@@ -85,7 +85,7 @@ STATIC mp_uint_t stdio_write(mp_obj_t self_in, const void *buf, mp_uint_t size,
     }
 }
 
-STATIC mp_obj_t stdio_obj___exit__(mp_uint_t n_args, const mp_obj_t *args) {
+STATIC mp_obj_t stdio_obj___exit__(size_t n_args, const mp_obj_t *args) {
     return mp_const_none;
 }
 STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(stdio_obj___exit___obj, 4, 4, stdio_obj___exit__);
-- 
GitLab