diff options
author | Damien George <damien.p.george@gmail.com> | 2016-10-14 00:07:32 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-10-14 00:07:32 +1100 |
commit | 8298251215a1606b50d8110665dc6bff9e31ab0e (patch) | |
tree | 2bf6701b68d8461a65df5e6f46b575159f77bdc6 | |
parent | e42186d3561921bd237dd10a73a60c76d238dd0c (diff) | |
download | micropython-8298251215a1606b50d8110665dc6bff9e31ab0e.tar.gz micropython-8298251215a1606b50d8110665dc6bff9e31ab0e.zip |
stmhal/pybstdio: Use size_t instead of mp_uint_t.
-rw-r--r-- | stmhal/pybstdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c index cf31f53acf..9cc787ce2d 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__); |