summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/modutime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-26 17:18:49 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-29 12:56:45 +1100
commitca06fac4a1d3bc0a4b8178e11504d44a86c955ef (patch)
tree6b8127ab442f6cbdd00cf6ceae50c761c5f5a093 /stmhal/modutime.c
parent1d7e3113db2ab49be496376db3b99a13bfcd505e (diff)
downloadmicropython-ca06fac4a1d3bc0a4b8178e11504d44a86c955ef.tar.gz
micropython-ca06fac4a1d3bc0a4b8178e11504d44a86c955ef.zip
stmhal: Update to use size_t for tuple/list accessors.
Diffstat (limited to 'stmhal/modutime.c')
-rw-r--r--stmhal/modutime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modutime.c b/stmhal/modutime.c
index 7f2c549bd7..2c72450803 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);