diff options
author | Damien George <damien.p.george@gmail.com> | 2017-03-26 17:18:49 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-29 12:56:45 +1100 |
commit | ca06fac4a1d3bc0a4b8178e11504d44a86c955ef (patch) | |
tree | 6b8127ab442f6cbdd00cf6ceae50c761c5f5a093 /stmhal/can.c | |
parent | 1d7e3113db2ab49be496376db3b99a13bfcd505e (diff) | |
download | micropython-ca06fac4a1d3bc0a4b8178e11504d44a86c955ef.tar.gz micropython-ca06fac4a1d3bc0a4b8178e11504d44a86c955ef.zip |
stmhal: Update to use size_t for tuple/list accessors.
Diffstat (limited to 'stmhal/can.c')
-rw-r--r-- | stmhal/can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/can.c b/stmhal/can.c index 9b8f2a0715..09861ec73a 100644 --- a/stmhal/can.c +++ b/stmhal/can.c @@ -631,8 +631,8 @@ STATIC mp_obj_t pyb_can_setfilter(mp_uint_t n_args, const mp_obj_t *pos_args, mp mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)]; mp_arg_parse_all(n_args - 1, pos_args + 1, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args); - mp_uint_t len; - mp_uint_t rtr_len; + size_t len; + size_t rtr_len; mp_uint_t rtr_masks[4] = {0, 0, 0, 0}; mp_obj_t *rtr_flags; mp_obj_t *params; |