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)
425 int width = luaL_checkint(L, 7); 425 int width = luaL_checkint(L, 7);
426 int height = luaL_checkint(L, 8); 426 int height = luaL_checkint(L, 8);
427 427
428 rb->lcd_mono_bitmap_part(src->data, src_x, src_y, stride, x, y, width, height); 428 rb->lcd_mono_bitmap_part((const unsigned char *)src->data, src_x, src_y, stride, x, y, width, height);
429 return 0; 429 return 0;
430} 430}
431 431
@@ -437,7 +437,7 @@ RB_WRAP(lcd_mono_bitmap)
437 int width = luaL_checkint(L, 4); 437 int width = luaL_checkint(L, 4);
438 int height = luaL_checkint(L, 5); 438 int height = luaL_checkint(L, 5);
439 439
440 rb->lcd_mono_bitmap(src->data, x, y, width, height); 440 rb->lcd_mono_bitmap((const unsigned char *)src->data, x, y, width, height);
441 return 0; 441 return 0;
442} 442}
443 443