summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index b41bee3c20..c249142bda 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -514,15 +514,15 @@ static bool viewer_menu(void)
/* Show icons in viewer? */
static bool show_icons(void)
{
- return set_bool(str(LANG_SHOW_ICONS),
- &global_settings.playlist_viewer_icons);
+ return set_bool((char *)str(LANG_SHOW_ICONS),
+ &global_settings.playlist_viewer_icons);
}
/* Show indices of tracks? */
static bool show_indices(void)
{
- return set_bool(str(LANG_SHOW_INDICES),
- &global_settings.playlist_viewer_indices);
+ return set_bool((char *)str(LANG_SHOW_INDICES),
+ &global_settings.playlist_viewer_indices);
}
/* How to display a track */
@@ -533,8 +533,9 @@ static bool track_display(void)
{ STR(LANG_DISPLAY_FULL_PATH) }
};
- return set_option(str(LANG_TRACK_DISPLAY),
- &global_settings.playlist_viewer_track_display, INT, names, 2, NULL);
+ return set_option((char *)str(LANG_TRACK_DISPLAY),
+ &global_settings.playlist_viewer_track_display, INT, names, 2,
+ NULL);
}
/* Save playlist to disk */