summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklib.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/rocklib.c')
-rw-r--r--apps/plugins/lua/rocklib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c
index c64275c5b6..a3a42af9f6 100644
--- a/apps/plugins/lua/rocklib.c
+++ b/apps/plugins/lua/rocklib.c
@@ -425,7 +425,7 @@ RB_WRAP(lcd_mono_bitmap_part)
int width = luaL_checkint(L, 7);
int height = luaL_checkint(L, 8);
- rb->lcd_mono_bitmap_part(src->data, src_x, src_y, stride, x, y, width, height);
+ rb->lcd_mono_bitmap_part((const unsigned char *)src->data, src_x, src_y, stride, x, y, width, height);
return 0;
}
@@ -437,7 +437,7 @@ RB_WRAP(lcd_mono_bitmap)
int width = luaL_checkint(L, 4);
int height = luaL_checkint(L, 5);
- rb->lcd_mono_bitmap(src->data, x, y, width, height);
+ rb->lcd_mono_bitmap((const unsigned char *)src->data, x, y, width, height);
return 0;
}