diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
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) | |||
619 | char buf[MAX_PATH]; | 619 | char buf[MAX_PATH]; |
620 | int i; | 620 | int i; |
621 | int lasti=-1; | 621 | int lasti=-1; |
622 | int button; | 622 | unsigned button; |
623 | int tree_max_on_screen; | 623 | int tree_max_on_screen; |
624 | bool reload_root = false; | 624 | bool reload_root = false; |
625 | int lastfilter = *tc.dirfilter; | 625 | int lastfilter = *tc.dirfilter; |
@@ -630,7 +630,7 @@ static bool dirbrowse(void) | |||
630 | long thumbnail_time = -1; /* for delaying a thumbnail */ | 630 | long thumbnail_time = -1; /* for delaying a thumbnail */ |
631 | bool update_all = false; /* set this to true when the whole file list | 631 | bool update_all = false; /* set this to true when the whole file list |
632 | has been refreshed on screen */ | 632 | has been refreshed on screen */ |
633 | int lastbutton = 0; | 633 | unsigned lastbutton = 0; |
634 | char* currdir = tc.currdir; /* just a shortcut */ | 634 | char* currdir = tc.currdir; /* just a shortcut */ |
635 | bool id3db = *tc.dirfilter == SHOW_ID3DB; | 635 | bool id3db = *tc.dirfilter == SHOW_ID3DB; |
636 | 636 | ||
@@ -689,7 +689,7 @@ static bool dirbrowse(void) | |||
689 | #ifndef SIMULATOR | 689 | #ifndef SIMULATOR |
690 | if (boot_changed) { | 690 | if (boot_changed) { |
691 | bool stop = false; | 691 | bool stop = false; |
692 | int button; | 692 | unsigned int button; |
693 | 693 | ||
694 | lcd_clear_display(); | 694 | lcd_clear_display(); |
695 | lcd_puts(0,0,str(LANG_BOOT_CHANGED)); | 695 | lcd_puts(0,0,str(LANG_BOOT_CHANGED)); |