Commit 4d79d5dd authored by Damien George's avatar Damien George
Browse files

py: Fix type of integer in decoding int.

parent b74501c9
......@@ -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--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment