unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.

pull/2979/head
Damien George 2017-03-25 19:37:24 +11:00
rodzic a8a3ab48da
commit 46e98d9ea7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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++;
}