kopia lustrzana https://github.com/micropython/micropython
py: Fix type of integer in decoding int.
rodzic
b74501c98f
commit
4d79d5dd7c
2
py/vm.c
2
py/vm.c
|
@ -157,7 +157,7 @@ dispatch_loop:
|
|||
break;
|
||||
|
||||
case MP_BC_LOAD_CONST_SMALL_INT: {
|
||||
int num = 0;
|
||||
machine_int_t num = 0;
|
||||
if ((ip[0] & 0x40) != 0) {
|
||||
// Number is negative
|
||||
num--;
|
||||
|
|
Ładowanie…
Reference in New Issue