commit | 60db80920a1eac962e43991fcffafd16edd11885 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed May 02 16:50:28 2018 +1000 |
committer | Damien George <damien.p.george@gmail.com> | Wed May 02 16:50:28 2018 +1000 |
tree | 3dcc8d6da845635da009b1174ddb47e13505b376 | |
parent | 6410e174c532395e9309300f550ced0942070040 [diff] [blame] |
py/builtinhelp: Change occurrence of mp_uint_t to size_t.
diff --git a/py/builtinhelp.c b/py/builtinhelp.c index 7106f3c..6c2c3b9 100644 --- a/py/builtinhelp.c +++ b/py/builtinhelp.c
@@ -100,7 +100,7 @@ // print the list of modules in a column-first order #define NUM_COLUMNS (4) #define COLUMN_WIDTH (18) - mp_uint_t len; + size_t len; mp_obj_t *items; mp_obj_list_get(list, &len, &items); unsigned int num_rows = (len + NUM_COLUMNS - 1) / NUM_COLUMNS;