py: More const usage.

This commit is contained in:
Paul Sokolovsky
2014-05-17 11:08:33 +03:00
parent c18ef2a9dd
commit ab7bf28489
7 changed files with 18 additions and 18 deletions

View File

@@ -186,7 +186,7 @@ machine_int_t mp_obj_int_get(mp_obj_t 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) {
// TODO: Check overflow
return mp_obj_int_get(self_in);
}