summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--extmod/moductypes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c
index 21d6f451a8..3d8a0f617a 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