unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
This commit is contained in:
parent
a8a3ab48da
commit
46e98d9ea7
|
@ -437,7 +437,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
|
||||||
path = "~/.micropython/lib:/usr/lib/micropython";
|
path = "~/.micropython/lib:/usr/lib/micropython";
|
||||||
#endif
|
#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 == ':') {
|
if (*path == ':') {
|
||||||
path_num++;
|
path_num++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue