Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
ab93321e
Commit
ab93321e
authored
May 12, 2019
by
Henrik Vendelbo
Committed by
Damien George
May 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py/persistentcode: Change "len" type to size_t for mp_obj_str_get_data.
parent
f812394c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
py/persistentcode.c
py/persistentcode.c
+1
-1
No files found.
py/persistentcode.c
View file @
ab93321e
...
...
@@ -560,7 +560,7 @@ STATIC void save_obj(mp_print_t *print, mp_obj_t o) {
}
else
{
obj_type
=
'b'
;
}
mp_uint
_t
len
;
size
_t
len
;
const
char
*
str
=
mp_obj_str_get_data
(
o
,
&
len
);
mp_print_bytes
(
print
,
&
obj_type
,
1
);
mp_print_uint
(
print
,
len
);
...
...
Write
Preview
Markdown
is supported
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