summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-25 19:37:24 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-29 12:56:17 +1100
commit46e98d9ea7daddb9650c91a6f4baf94c5ea18959 (patch)
tree9e5bcc25b909db1680756d67e8ecdbaeefe17a8e
parenta8a3ab48da5a151a2796a0303e3741d3c4f24f96 (diff)
downloadmicropython-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.c2
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++;
}