commit | d182b98a37bde34c06ae705624da03cf381eb4dc | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Sat Aug 30 14:19:41 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Sat Aug 30 14:19:41 2014 +0100 |
tree | 0e7599a07d2c3ad17be2a3a708759c07e638a20d | |
parent | 9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55 [diff] [blame] |
py: Change all uint to mp_uint_t in obj.h. Part of code cleanup, working towards resolving issue #50.
diff --git a/py/runtime.c b/py/runtime.c index 69727e0..41bd198 100644 --- a/py/runtime.c +++ b/py/runtime.c
@@ -1094,7 +1094,7 @@ } 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);