1
0
Fork 0
forked from len0rd/rockbox

Removed lvalue cast, which generates warnings on newer gcc versions

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4876 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-13 19:28:36 +00:00
parent 79dd35ec65
commit 06621c0cf6

View file

@ -415,7 +415,7 @@ static void lcd_putsxyofs(int x, int y, int ofs, unsigned char *str)
{ {
lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width,
MIN(8, pf->height - i), true); MIN(8, pf->height - i), true);
((unsigned char *)bits) += gwidth; bits = (bitmap_t *)((int)bits + gwidth);
} }
} }
else else