1 parent f66ee4d commit 5e98103Copy full SHA for 5e98103
1 file changed
py/objint_mpz.c
@@ -314,7 +314,7 @@ mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value) {
314
if ((value & (WORD_MSBIT_HIGH | (WORD_MSBIT_HIGH >> 1))) == 0) {
315
return MP_OBJ_NEW_SMALL_INT(value);
316
}
317
- return mp_obj_new_int_from_ll(value);
+ return mp_obj_new_int_from_ull(value);
318
319
320
#if MICROPY_PY_BUILTINS_FLOAT
0 commit comments