summaryrefslogtreecommitdiffstatshomepage
path: root/unix/coverage.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-07-04 23:44:54 +1000
committerDamien George <damien.p.george@gmail.com>2017-07-04 23:44:54 +1000
commite66fd568520a22acbd452188f8ac8f38364c477c (patch)
tree0a4b59d0936fb33c60b5586dbd8253c42ed0e42e /unix/coverage.c
parent7bd10c1ffe54f9c1e3b63f8f372c024461b3a4ff (diff)
downloadmicropython-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.c2
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)));