unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.

This commit is contained in:
Damien George 2017-03-25 19:37:24 +11:00
parent a8a3ab48da
commit 46e98d9ea7
1 changed files with 1 additions and 1 deletions

View File

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