diff options
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"); |