summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 69727e0203..41bd198040 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1094,7 +1094,7 @@ import_error:
}
mp_load_method_maybe(module, MP_QSTR___name__, dest);
- uint pkg_name_len;
+ mp_uint_t pkg_name_len;
const char *pkg_name = mp_obj_str_get_data(dest[0], &pkg_name_len);
const uint dot_name_len = pkg_name_len + 1 + qstr_len(name);