From 7ba0fedf13771566e4a4564331971d8e3b77d4b6 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sat, 17 May 2014 11:17:48 +0200 Subject: [PATCH] py: Fix mp_obj_t -> mp_const_obj_t for mp_obj_int_get_checked() Signed-off-by: Sven Wegener --- py/objint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/objint.c b/py/objint.c index 34447b3a12..3aaf5107c4 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); }