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

unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.

parent a8a3ab48
Branches
Tags
No related merge requests found
......@@ -437,7 +437,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
path = "~/.micropython/lib:/usr/lib/micropython";
#endif
}
mp_uint_t path_num = 1; // [0] is for current dir (or base dir of the script)
size_t path_num = 1; // [0] is for current dir (or base dir of the script)
if (*path == ':') {
path_num++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment