8000 extmod/modframebuf: Use correct initialization for .locals_dict. · lable/micropython@036b582 · GitHub
[go: up one dir, main page]

Skip to content

Commit 036b582

Browse files
committed
extmod/modframebuf: Use correct initialization for .locals_dict.
1 parent 4564504 commit 036b582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/modframebuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ STATIC const mp_obj_type_t mp_type_framebuf = {
549549
.name = MP_QSTR_FrameBuffer,
550550
.make_new = framebuf_make_new,
551551
.buffer_p = { .get_buffer = framebuf_get_buffer },
552-
.locals_dict = (mp_obj_t)&framebuf_locals_dict,
552+
.locals_dict = (mp_obj_dict_t*)&framebuf_locals_dict,
553553
};
554554

555555
// this factory function is provided for backwards compatibility with old FrameBuffer1 class

0 commit comments

Comments
 (0)
0