summaryrefslogtreecommitdiff
path: root/apps/plugins/lua
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 13:58:19 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 13:58:19 +0000
commit3391bf3543876205c253544aa5ba42140b7d8ad0 (patch)
treeb7f01371165cebff9ff92e73b0d669b9113bf08c /apps/plugins/lua
parent153ac73c04ec06a2402c78cf24b8a8908749c70d (diff)
downloadrockbox-3391bf3543876205c253544aa5ba42140b7d8ad0.tar.gz
rockbox-3391bf3543876205c253544aa5ba42140b7d8ad0.zip
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21292 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua')
-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