summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-16 16:16:33 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 16:51:16 +1100
commit68cd3a93f0728b61b0d2407f4ae802806dddce4d (patch)
treeaa363d4fcc4d691034693d3506a5dbdca114048f /py/obj.h
parent1ea2f7a8ce0353e423253135e417c02dc6466405 (diff)
downloadmicropython-68cd3a93f0728b61b0d2407f4ae802806dddce4d.tar.gz
micropython-68cd3a93f0728b61b0d2407f4ae802806dddce4d.zip
py/objset: 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 ab04107500..2d02624421 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -633,7 +633,7 @@ mp_obj_t mp_obj_new_closure(mp_obj_t fun, mp_uint_t n_closed, const mp_obj_t *cl
mp_obj_t mp_obj_new_tuple(size_t n, const mp_obj_t *items);
mp_obj_t mp_obj_new_list(size_t n, mp_obj_t *items);
mp_obj_t mp_obj_new_dict(size_t n_args);
-mp_obj_t mp_obj_new_set(mp_uint_t n_args, mp_obj_t *items);
+mp_obj_t mp_obj_new_set(size_t n_args, mp_obj_t *items);
mp_obj_t mp_obj_new_slice(mp_obj_t start, mp_obj_t stop, mp_obj_t step);
mp_obj_t mp_obj_new_super(mp_obj_t type, mp_obj_t obj);
mp_obj_t mp_obj_new_bound_meth(mp_obj_t meth, mp_obj_t self);