diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-20 00:00:04 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-20 00:00:04 +0000 |
commit | 4d79d5dd7c0c2f6d1ae361e4ab61449f2dc60276 (patch) | |
tree | 6d16b606d3bafd7baa3457df3d486b2e510cc4b2 | |
parent | b74501c98f9abf84f659a447077989eb3ffeb46c (diff) | |
download | micropython-4d79d5dd7c0c2f6d1ae361e4ab61449f2dc60276.tar.gz micropython-4d79d5dd7c0c2f6d1ae361e4ab61449f2dc60276.zip |
py: Fix type of integer in decoding int.
-rw-r--r-- | py/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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--; |