diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-07 23:18:54 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-07 23:18:54 +0000 |
commit | dfc0bac086a0277cc1c3d6a72ee906214bbbf9ac (patch) | |
tree | 8a4bd2c25a4457e759340bc2b386383cb3e4212e /py/objlist.c | |
parent | 777575712b9e102d9ddf81cfe253e8d789f28d0a (diff) | |
download | micropython-dfc0bac086a0277cc1c3d6a72ee906214bbbf9ac.tar.gz micropython-dfc0bac086a0277cc1c3d6a72ee906214bbbf9ac.zip |
py: Small big fix to type declarations.
Diffstat (limited to 'py/objlist.c')
-rw-r--r-- | py/objlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objlist.c b/py/objlist.c index 5162fa09ff..e3d92b9e92 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -143,9 +143,9 @@ static void mp_quicksort(mp_obj_t *head, mp_obj_t *tail, mp_obj_t key_fn, bool r } } -static mp_obj_t list_sort(mp_obj_t *args, mp_map_t *kwargs) { +static mp_obj_t list_sort(mp_obj_t args, mp_map_t *kwargs) { mp_obj_t *args_items = NULL; - machine_uint_t args_len = 0; + uint args_len = 0; qstr key_idx = qstr_from_str_static("key"); qstr reverse_idx = qstr_from_str_static("reverse"); |