forked from len0rd/rockbox
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
df5c3e15e8
commit
59f0e7023c
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ void grey_ub_scroll_up(int count)
|
||||||
/* Scroll down */
|
/* Scroll down */
|
||||||
void grey_ub_scroll_down(int count)
|
void grey_ub_scroll_down(int count)
|
||||||
{
|
{
|
||||||
unsigned char *start, *dst, *src;
|
unsigned char *start, *dst;
|
||||||
int blank;
|
int blank;
|
||||||
|
|
||||||
if ((unsigned)count >= (unsigned)_grey_info.height)
|
if ((unsigned)count >= (unsigned)_grey_info.height)
|
||||||
|
@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count)
|
||||||
if (count & _GREY_BMASK)
|
if (count & _GREY_BMASK)
|
||||||
{
|
{
|
||||||
/* Scrolling by fractional blocks - move pixel wise. */
|
/* Scrolling by fractional blocks - move pixel wise. */
|
||||||
unsigned char *line_end;
|
unsigned char *src, *line_end;
|
||||||
int ys, yd;
|
int ys, yd;
|
||||||
|
|
||||||
yd = _grey_info.height - 1;
|
yd = _grey_info.height - 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue