summaryrefslogtreecommitdiffstatshomepage
path: root/unix/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-30 14:04:14 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-30 14:04:14 +0100
commit9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55 (patch)
treeff5df738435c6e6734a235aeb6d383457623dc6b /unix/main.c
parent93965e726fb307739c31b0fc61d972391ffba677 (diff)
downloadmicropython-9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55.tar.gz
micropython-9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55.zip
py: Make tuple and list use mp_int_t/mp_uint_t.
Part of code cleanup, to resolve issue #50.
Diffstat (limited to 'unix/main.c')
-rw-r--r--unix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c
index 898182fa92..78454dd73c 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -293,7 +293,7 @@ int main(int argc, char **argv) {
if (path == NULL) {
path = "~/.micropython/lib:/usr/lib/micropython";
}
- uint path_num = 1; // [0] is for current dir (or base dir of the script)
+ mp_uint_t path_num = 1; // [0] is for current dir (or base dir of the script)
for (char *p = path; p != NULL; p = strchr(p, PATHLIST_SEP_CHAR)) {
path_num++;
if (p != NULL) {