Browse Source

unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.

pull/2979/head
Damien George 8 years ago
parent
commit
46e98d9ea7
  1. 2
      unix/main.c

2
unix/main.c

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

Loading…
Cancel
Save