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
4d79d5dd
Commit
4d79d5dd
authored
Feb 20, 2014
by
Damien George
Browse files
py: Fix type of integer in decoding int.
parent
b74501c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/vm.c
View file @
4d79d5dd
...
...
@@ -157,7 +157,7 @@ dispatch_loop:
break
;
case
MP_BC_LOAD_CONST_SMALL_INT
:
{
in
t
num
=
0
;
machine_int_
t
num
=
0
;
if
((
ip
[
0
]
&
0x40
)
!=
0
)
{
// Number is negative
num
--
;
...
...
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