diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-15 13:58:19 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-15 13:58:19 +0000 |
commit | 3391bf3543876205c253544aa5ba42140b7d8ad0 (patch) | |
tree | b7f01371165cebff9ff92e73b0d669b9113bf08c /apps/plugins/lua | |
parent | 153ac73c04ec06a2402c78cf24b8a8908749c70d (diff) |
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.c | 4 |
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; } |