From ca06fac4a1d3bc0a4b8178e11504d44a86c955ef Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 26 Mar 2017 17:18:49 +1100 Subject: stmhal: Update to use size_t for tuple/list accessors. --- stmhal/modutime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/modutime.c') diff --git a/stmhal/modutime.c b/stmhal/modutime.c index 7f2c549bd..2c7245080 100644 --- a/stmhal/modutime.c +++ b/stmhal/modutime.c @@ -100,7 +100,7 @@ MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(time_localtime_obj, 0, 1, time_localtime); /// the number of seconds since Jan 1, 2000. STATIC mp_obj_t time_mktime(mp_obj_t tuple) { - mp_uint_t len; + size_t len; mp_obj_t *elem; mp_obj_get_array(tuple, &len, &elem); -- cgit v1.2.3