Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
46e98d9e
Commit
46e98d9e
authored
Mar 25, 2017
by
Damien George
Browse files
unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
parent
a8a3ab48
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/main.c
View file @
46e98d9e
...
...
@@ -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
++
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment