diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-10-28 00:21:28 +0300 | 
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-10-28 00:21:42 +0300 | 
| commit | 20f85feecc5ea42406f5c37194f6b831d574824e (patch) | |
| tree | e0c2f9a24a238be7e6d81d38780e2fdf31097e0f | |
| parent | 404dae80a9d5cb6315071fe6206b2a6026be0a09 (diff) | |
extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull().
Since we now have it.
| -rw-r--r-- | extmod/moductypes.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c index 21d6f451a..3d8a0f617 100644 --- a/extmod/moductypes.c +++ b/extmod/moductypes.c @@ -329,6 +329,7 @@ STATIC mp_obj_t get_aligned(uint val_type, void *p, mp_int_t index) {          case INT32:              return mp_obj_new_int(((int32_t*)p)[index]);          case UINT64: +            return mp_obj_new_int_from_ull(((uint64_t*)p)[index]);          case INT64:              return mp_obj_new_int_from_ll(((int64_t*)p)[index]);          #if MICROPY_PY_BUILTINS_FLOAT  | 
