summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c6
-rw-r--r--apps/wps.c4
-rw-r--r--apps/wps.h2
3 files changed, 6 insertions, 6 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));
diff --git a/apps/wps.c b/apps/wps.c
index e9b6d4969a..91969df00e 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -426,9 +426,9 @@ static void waitfor_nokey(void)
426} 426}
427 427
428/* demonstrates showing different formats from playtune */ 428/* demonstrates showing different formats from playtune */
429int wps_show(void) 429long wps_show(void)
430{ 430{
431 int button = 0, lastbutton = 0; 431 long button = 0, lastbutton = 0;
432 bool ignore_keyup = true; 432 bool ignore_keyup = true;
433 bool restore = false; 433 bool restore = false;
434 long restoretimer = 0; /* timer to delay screen redraw temporarily */ 434 long restoretimer = 0; /* timer to delay screen redraw temporarily */
diff --git a/apps/wps.h b/apps/wps.h
index bc2e30e7c0..f218fdd277 100644
--- a/apps/wps.h
+++ b/apps/wps.h
@@ -24,7 +24,7 @@
24extern bool keys_locked; 24extern bool keys_locked;
25extern bool wps_time_countup; 25extern bool wps_time_countup;
26 26
27int wps_show(void); 27long wps_show(void);
28bool refresh_wps(bool refresh_scroll); 28bool refresh_wps(bool refresh_scroll);
29void handle_usb(void); 29void handle_usb(void);
30 30