Fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21292 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-06-15 13:58:19 +00:00
parent 153ac73c04
commit 3391bf3543

View file

@ -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;
}