diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:59:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:59:21 +0100 |
commit | 4abff7500fb05430a2ce952a2430d4d0ba16047e (patch) | |
tree | b88ab89a41da9d9d71ad95157a4cf9bbaffb11e6 /py/builtin.c | |
parent | 4d91723587b27c5a1da7e759e3f761a16b35d4bd (diff) |
py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'py/builtin.c')
-rw-r--r-- | py/builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/builtin.c b/py/builtin.c index c92dcbb71..64cbd68fe 100644 --- a/py/builtin.c +++ b/py/builtin.c @@ -401,7 +401,7 @@ STATIC mp_obj_t mp_builtin_print(mp_uint_t n_args, const mp_obj_t *args, mp_map_ #if MICROPY_PY_IO mp_stream_write(stream_obj, sep_data, sep_len); #else - printf("%.*s", sep_len, sep_data); + printf("%.*s", (int)sep_len, sep_data); #endif } #if MICROPY_PY_IO @@ -413,7 +413,7 @@ STATIC mp_obj_t mp_builtin_print(mp_uint_t n_args, const mp_obj_t *args, mp_map_ #if MICROPY_PY_IO mp_stream_write(stream_obj, end_data, end_len); #else - printf("%.*s", end_len, end_data); + printf("%.*s", (int)end_len, end_data); #endif return mp_const_none; } |