Fix warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-01-10 23:01:11 +00:00
parent df5c3e15e8
commit 59f0e7023c

View file

@ -267,7 +267,7 @@ void grey_ub_scroll_up(int count)
/* Scroll down */
void grey_ub_scroll_down(int count)
{
unsigned char *start, *dst, *src;
unsigned char *start, *dst;
int blank;
if ((unsigned)count >= (unsigned)_grey_info.height)
@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count)
if (count & _GREY_BMASK)
{
/* Scrolling by fractional blocks - move pixel wise. */
unsigned char *line_end;
unsigned char *src, *line_end;
int ys, yd;
yd = _grey_info.height - 1;