From dfc0bac086a0277cc1c3d6a72ee906214bbbf9ac Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 7 Jan 2014 23:18:54 +0000 Subject: py: Small big fix to type declarations. --- py/objlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/objlist.c') diff --git a/py/objlist.c b/py/objlist.c index 5162fa09f..e3d92b9e9 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"); -- cgit v1.2.3