diff options
author | Damien George <damien.p.george@gmail.com> | 2017-07-04 23:44:54 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-07-04 23:44:54 +1000 |
commit | e66fd568520a22acbd452188f8ac8f38364c477c (patch) | |
tree | 0a4b59d0936fb33c60b5586dbd8253c42ed0e42e /unix/coverage.c | |
parent | 7bd10c1ffe54f9c1e3b63f8f372c024461b3a4ff (diff) | |
download | micropython-e66fd568520a22acbd452188f8ac8f38364c477c.tar.gz micropython-e66fd568520a22acbd452188f8ac8f38364c477c.zip |
py/repl: Change mp_uint_t to size_t in repl helpers.
Diffstat (limited to 'unix/coverage.c')
-rw-r--r-- | unix/coverage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/coverage.c b/unix/coverage.c index 8391cd08be..4a9ab194bb 100644 --- a/unix/coverage.c +++ b/unix/coverage.c @@ -190,7 +190,7 @@ STATIC mp_obj_t extra_coverage(void) { mp_printf(&mp_plat_print, "# repl\n"); const char *str; - mp_uint_t len = mp_repl_autocomplete("__n", 3, &mp_plat_print, &str); + size_t len = mp_repl_autocomplete("__n", 3, &mp_plat_print, &str); mp_printf(&mp_plat_print, "%.*s\n", (int)len, str); mp_store_global(MP_QSTR_sys, mp_import_name(MP_QSTR_sys, mp_const_none, MP_OBJ_NEW_SMALL_INT(0))); |