Skip to content

Commit 46e98d9

Browse files
committed
unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
1 parent a8a3ab4 commit 46e98d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
437437
path = "~/.micropython/lib:/usr/lib/micropython";
438438
#endif
439439
}
440-
mp_uint_t path_num = 1; // [0] is for current dir (or base dir of the script)
440+
size_t path_num = 1; // [0] is for current dir (or base dir of the script)
441441
if (*path == ':') {
442442
path_num++;
443443
}

0 commit comments

Comments
 (0)