summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-01-10 23:01:11 +0000
committerJens Arnold <amiconn@rockbox.org>2008-01-10 23:01:11 +0000
commit59f0e7023c86e64db4e6d95aa501ea5a48a35cdf (patch)
tree22ee1b44a7a43ef40380c9f74f28231e4c8651e1 /apps
parentdf5c3e15e8d04d519b7870fe809c15053783c14c (diff)
downloadrockbox-59f0e7023c86e64db4e6d95aa501ea5a48a35cdf.tar.gz
rockbox-59f0e7023c86e64db4e6d95aa501ea5a48a35cdf.zip
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lib/grey_scroll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_scroll.c b/apps/plugins/lib/grey_scroll.c
index 4e1d5070fc..0e88655c89 100644
--- a/apps/plugins/lib/grey_scroll.c
+++ b/apps/plugins/lib/grey_scroll.c
@@ -267,7 +267,7 @@ void grey_ub_scroll_up(int count)
267/* Scroll down */ 267/* Scroll down */
268void grey_ub_scroll_down(int count) 268void grey_ub_scroll_down(int count)
269{ 269{
270 unsigned char *start, *dst, *src; 270 unsigned char *start, *dst;
271 int blank; 271 int blank;
272 272
273 if ((unsigned)count >= (unsigned)_grey_info.height) 273 if ((unsigned)count >= (unsigned)_grey_info.height)
@@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count)
282 if (count & _GREY_BMASK) 282 if (count & _GREY_BMASK)
283 { 283 {
284 /* Scrolling by fractional blocks - move pixel wise. */ 284 /* Scrolling by fractional blocks - move pixel wise. */
285 unsigned char *line_end; 285 unsigned char *src, *line_end;
286 int ys, yd; 286 int ys, yd;
287 287
288 yd = _grey_info.height - 1; 288 yd = _grey_info.height - 1;