Skip to content
Snippets Groups Projects
Commit 20f85fee authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull().

Since we now have it.
parent 404dae80
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment