diff options
author | Damien George <damien.p.george@gmail.com> | 2017-03-25 19:37:24 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-29 12:56:17 +1100 |
commit | 46e98d9ea7daddb9650c91a6f4baf94c5ea18959 (patch) | |
tree | 9e5bcc25b909db1680756d67e8ecdbaeefe17a8e | |
parent | a8a3ab48da5a151a2796a0303e3741d3c4f24f96 (diff) | |
download | micropython-46e98d9ea7daddb9650c91a6f4baf94c5ea18959.tar.gz micropython-46e98d9ea7daddb9650c91a6f4baf94c5ea18959.zip |
unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
-rw-r--r-- | unix/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index 01ebdce175..a1c204cab0 100644 --- a/unix/main.c +++ b/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++; } |