summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-12 12:20:10 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-12 12:20:10 +0000
commit39eb8e134f4dc8b5005c88100718b38ed8f706d0 (patch)
tree8f1b055bbe742291604bef30daef9996e6cc8458 /apps/tree.c
parent45e0de3e638ce224df30abef489a6cd3db874f48 (diff)
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 25b1796988..4ccd7025d5 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -619,7 +619,7 @@ static bool dirbrowse(void)
char buf[MAX_PATH];
int i;
int lasti=-1;
- int button;
+ unsigned button;
int tree_max_on_screen;
bool reload_root = false;
int lastfilter = *tc.dirfilter;
@@ -630,7 +630,7 @@ static bool dirbrowse(void)
long thumbnail_time = -1; /* for delaying a thumbnail */
bool update_all = false; /* set this to true when the whole file list
has been refreshed on screen */
- int lastbutton = 0;
+ unsigned lastbutton = 0;
char* currdir = tc.currdir; /* just a shortcut */
bool id3db = *tc.dirfilter == SHOW_ID3DB;
@@ -689,7 +689,7 @@ static bool dirbrowse(void)
#ifndef SIMULATOR
if (boot_changed) {
bool stop = false;
- int button;
+ unsigned int button;
lcd_clear_display();
lcd_puts(0,0,str(LANG_BOOT_CHANGED));