py: Fix mp_obj_t -> mp_const_obj_t for mp_obj_int_get_checked()

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
This commit is contained in:
Sven Wegener 2014-05-17 11:17:48 +02:00
parent bf27140193
commit 7ba0fedf13
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}