Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 036b582

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

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎extmod/modframebuf.c‎

Copy file name to clipboardExpand all lines: extmod/modframebuf.c
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.