summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-16 16:09:51 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 16:51:16 +1100
commit229823942c79b1233c43dc155bae01c20a8cec57 (patch)
treec8d34335c09b21505c8d853868d68f02eb0bbcb5 /py/obj.h
parent891dc5c62ce9b266f0352fc96ed78f36ee9fc825 (diff)
downloadmicropython-229823942c79b1233c43dc155bae01c20a8cec57.tar.gz
micropython-229823942c79b1233c43dc155bae01c20a8cec57.zip
py/objtuple: Convert mp_uint_t to size_t where appropriate.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 071e38502b..95b6ec4119 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -630,7 +630,7 @@ mp_obj_t mp_obj_new_fun_viper(mp_uint_t n_args, void *fun_data, mp_uint_t type_s
mp_obj_t mp_obj_new_fun_asm(mp_uint_t n_args, void *fun_data, mp_uint_t type_sig);
mp_obj_t mp_obj_new_gen_wrap(mp_obj_t fun);
mp_obj_t mp_obj_new_closure(mp_obj_t fun, mp_uint_t n_closed, const mp_obj_t *closed);
-mp_obj_t mp_obj_new_tuple(mp_uint_t n, const mp_obj_t *items);
+mp_obj_t mp_obj_new_tuple(size_t n, const mp_obj_t *items);
mp_obj_t mp_obj_new_list(mp_uint_t n, mp_obj_t *items);
mp_obj_t mp_obj_new_dict(mp_uint_t n_args);
mp_obj_t mp_obj_new_set(mp_uint_t n_args, mp_obj_t *items);