summaryrefslogtreecommitdiffstatshomepage
path: root/py/sequence.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/sequence.c')
-rw-r--r--py/sequence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/sequence.c b/py/sequence.c
index 27815344e3..6f715ff795 100644
--- a/py/sequence.c
+++ b/py/sequence.c
@@ -217,7 +217,7 @@ bool mp_seq_cmp_objs(mp_uint_t op, const mp_obj_t *items1, mp_uint_t len1, const
// Special-case of index() which searches for mp_obj_t
mp_obj_t mp_seq_index_obj(const mp_obj_t *items, mp_uint_t len, mp_uint_t n_args, const mp_obj_t *args) {
mp_obj_type_t *type = mp_obj_get_type(args[0]);
- mp_obj_t *value = args[1];
+ mp_obj_t value = args[1];
uint start = 0;
uint stop = len;