Browse Source

py: Fix type of integer in decoding int.

pull/313/head
Damien George 11 years ago
parent
commit
4d79d5dd7c
  1. 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--;

Loading…
Cancel
Save