mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user