Commit 7ba0fedf authored by Sven Wegener's avatar Sven Wegener
Browse files

py: Fix mp_obj_t -> mp_const_obj_t for mp_obj_int_get_checked()



Signed-off-by: default avatarSven Wegener <sven.wegener@stealer.net>
parent bf271401
...@@ -258,7 +258,7 @@ machine_int_t mp_obj_int_get(mp_obj_t self_in) { ...@@ -258,7 +258,7 @@ machine_int_t mp_obj_int_get(mp_obj_t self_in) {
return MP_OBJ_SMALL_INT_VALUE(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); return MP_OBJ_SMALL_INT_VALUE(self_in);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment