From 3391bf3543876205c253544aa5ba42140b7d8ad0 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 15 Jun 2009 13:58:19 +0000 Subject: Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21292 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lua/rocklib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins') 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; } -- cgit v1.2.3