diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/screens.c b/apps/screens.c index 41b51cc0ac..6c6c5325be 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -521,23 +521,23 @@ bool quick_screen_quick(int button_enter) | |||
521 | struct gui_quickscreen qs; | 521 | struct gui_quickscreen qs; |
522 | 522 | ||
523 | option_select_init_items(&left_option, | 523 | option_select_init_items(&left_option, |
524 | str(LANG_SHUFFLE), | 524 | (char *)str(LANG_SHUFFLE), |
525 | bool_to_int(global_settings.playlist_shuffle), | 525 | bool_to_int(global_settings.playlist_shuffle), |
526 | left_items, | 526 | left_items, |
527 | 2); | 527 | 2); |
528 | option_select_init_items(&bottom_option, | 528 | option_select_init_items(&bottom_option, |
529 | str(LANG_FILTER), | 529 | (char *)str(LANG_FILTER), |
530 | global_settings.dirfilter, | 530 | global_settings.dirfilter, |
531 | bottom_items, | 531 | bottom_items, |
532 | sizeof(bottom_items)/sizeof(struct opt_items)); | 532 | sizeof(bottom_items)/sizeof(struct opt_items)); |
533 | option_select_init_items(&right_option, | 533 | option_select_init_items(&right_option, |
534 | str(LANG_REPEAT), | 534 | (char *)str(LANG_REPEAT), |
535 | global_settings.repeat_mode, | 535 | global_settings.repeat_mode, |
536 | right_items, | 536 | right_items, |
537 | sizeof(right_items)/sizeof(struct opt_items)); | 537 | sizeof(right_items)/sizeof(struct opt_items)); |
538 | 538 | ||
539 | gui_quickscreen_init(&qs, &left_option, &bottom_option, &right_option, | 539 | gui_quickscreen_init(&qs, &left_option, &bottom_option, &right_option, |
540 | str(LANG_F2_MODE), &quick_screen_quick_apply); | 540 | (char *)str(LANG_F2_MODE), &quick_screen_quick_apply); |
541 | oldrepeat=global_settings.repeat_mode; | 541 | oldrepeat=global_settings.repeat_mode; |
542 | res=gui_syncquickscreen_run(&qs, button_enter); | 542 | res=gui_syncquickscreen_run(&qs, button_enter); |
543 | if(!res) | 543 | if(!res) |
@@ -619,7 +619,7 @@ bool quick_screen_f3(int button_enter) | |||
619 | #if defined(HAVE_CHARGING) || defined(SIMULATOR) | 619 | #if defined(HAVE_CHARGING) || defined(SIMULATOR) |
620 | void charging_splash(void) | 620 | void charging_splash(void) |
621 | { | 621 | { |
622 | gui_syncsplash(2*HZ, true, str(LANG_BATTERY_CHARGE)); | 622 | gui_syncsplash(2*HZ, true, (char *)str(LANG_BATTERY_CHARGE)); |
623 | button_clear_queue(); | 623 | button_clear_queue(); |
624 | } | 624 | } |
625 | #endif | 625 | #endif |
@@ -1184,8 +1184,8 @@ bool set_rating(void) | |||
1184 | { | 1184 | { |
1185 | lcd_clear_display(); | 1185 | lcd_clear_display(); |
1186 | lcd_puts(0, 0, str(LANG_RATING)); | 1186 | lcd_puts(0, 0, str(LANG_RATING)); |
1187 | snprintf(rating_text,sizeof(rating_text),"%d",id3->rating); | 1187 | snprintf(rating_text, sizeof(rating_text), "%d", id3->rating); |
1188 | lcd_puts(0,1,rating_text); | 1188 | lcd_puts(0, 1, (unsigned char *)rating_text); |
1189 | lcd_update(); | 1189 | lcd_update(); |
1190 | button = button_get(true); | 1190 | button = button_get(true); |
1191 | 1191 | ||