summaryrefslogtreecommitdiffstatshomepage
path: root/extmod
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-07-29 10:26:41 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-07-29 10:26:41 +0300
commit036b58228c36ea971ec80ee4df875d858eacdfb3 (patch)
treec4741d463fb7c87bed4d48236cd98c243e08ac53 /extmod
parent456450437fc572d0296d52be0035e135ab6814d8 (diff)
downloadmicropython-036b58228c36ea971ec80ee4df875d858eacdfb3.tar.gz
micropython-036b58228c36ea971ec80ee4df875d858eacdfb3.zip
extmod/modframebuf: Use correct initialization for .locals_dict.
Diffstat (limited to 'extmod')
-rw-r--r--extmod/modframebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modframebuf.c b/extmod/modframebuf.c
index 779214bb7d..d3318899a8 100644
--- a/extmod/modframebuf.c
+++ b/extmod/modframebuf.c
@@ -549,7 +549,7 @@ STATIC const mp_obj_type_t mp_type_framebuf = {
.name = MP_QSTR_FrameBuffer,
.make_new = framebuf_make_new,
.buffer_p = { .get_buffer = framebuf_get_buffer },
- .locals_dict = (mp_obj_t)&framebuf_locals_dict,
+ .locals_dict = (mp_obj_dict_t*)&framebuf_locals_dict,
};
// this factory function is provided for backwards compatibility with old FrameBuffer1 class