diff --git a/py/objint.c b/py/objint.c index 34447b3a127f8..3aaf5107c4efe 100644 --- a/py/objint.c +++ b/py/objint.c @@ -258,7 +258,7 @@ machine_int_t mp_obj_int_get(mp_obj_t self_in) { return MP_OBJ_SMALL_INT_VALUE(self_in); } -machine_int_t mp_obj_int_get_checked(mp_obj_t self_in) { +machine_int_t mp_obj_int_get_checked(mp_const_obj_t self_in) { return MP_OBJ_SMALL_INT_VALUE(self_in); }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: