Skip to content
Snippets Groups Projects
Commit 60db8092 authored by Damien George's avatar Damien George
Browse files

py/builtinhelp: Change occurrence of mp_uint_t to size_t.

parent 6410e174
Branches
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ STATIC void mp_help_print_modules(void) { ...@@ -100,7 +100,7 @@ STATIC void mp_help_print_modules(void) {
// print the list of modules in a column-first order // print the list of modules in a column-first order
#define NUM_COLUMNS (4) #define NUM_COLUMNS (4)
#define COLUMN_WIDTH (18) #define COLUMN_WIDTH (18)
mp_uint_t len; size_t len;
mp_obj_t *items; mp_obj_t *items;
mp_obj_list_get(list, &len, &items); mp_obj_list_get(list, &len, &items);
unsigned int num_rows = (len + NUM_COLUMNS - 1) / NUM_COLUMNS; unsigned int num_rows = (len + NUM_COLUMNS - 1) / NUM_COLUMNS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment