Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
76f8cedb
Commit
76f8cedb
authored
Feb 15, 2014
by
Paul Sokolovsky
Browse files
mp_binary_get_val(): Fix value type.
parent
60a0d3f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/binary.c
View file @
76f8cedb
...
...
@@ -42,7 +42,7 @@ int mp_binary_get_size(char typecode) {
}
mp_obj_t
mp_binary_get_val
(
char
typecode
,
void
*
p
,
int
index
)
{
in
t
val
=
0
;
machine_int_
t
val
=
0
;
switch
(
typecode
)
{
case
'b'
:
val
=
((
int8_t
*
)
p
)[
index
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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