You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
This commit is contained in:
+1
-1
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user