diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2022-06-24 16:27:46 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-09-19 19:06:01 +1000 |
commit | 9dce82776db104750283b213095a7aedfb95a1d9 (patch) | |
tree | ede3b1e720059111af4d97916bbce57fcded8c1c /py/objstringio.c | |
parent | b7d6ee9b75650bd0ac36e89077d5d08a3eed9e3f (diff) |
all: Remove unnecessary locals_dict cast.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/objstringio.c')
-rw-r--r-- | py/objstringio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objstringio.c b/py/objstringio.c index d781ccc78..77547f88c 100644 --- a/py/objstringio.c +++ b/py/objstringio.c @@ -253,7 +253,7 @@ MP_DEFINE_CONST_OBJ_TYPE( getiter, mp_identity_getiter, iternext, mp_stream_unbuffered_iter, protocol, &stringio_stream_p, - locals_dict, (mp_obj_dict_t *)&stringio_locals_dict + locals_dict, &stringio_locals_dict ); #if MICROPY_PY_IO_BYTESIO @@ -272,7 +272,7 @@ MP_DEFINE_CONST_OBJ_TYPE( getiter, mp_identity_getiter, iternext, mp_stream_unbuffered_iter, protocol, &bytesio_stream_p, - locals_dict, (mp_obj_dict_t *)&stringio_locals_dict + locals_dict, &stringio_locals_dict ); #endif |