summaryrefslogtreecommitdiff
path: root/apps/playlist_catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r--apps/playlist_catalog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 17db24984b..ac86f48109 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -323,7 +323,7 @@ static int add_track_to_playlist(char* filename, void* context)
323 323
324/* Add "sel" file into specified "playlist". How to insert depends on type 324/* Add "sel" file into specified "playlist". How to insert depends on type
325 of file */ 325 of file */
326static int add_to_playlist(const char* playlist, char* sel, int sel_attr) 326static int add_to_playlist(const char* playlist, const char* sel, int sel_attr)
327{ 327{
328 int fd; 328 int fd;
329 int result = -1; 329 int result = -1;
@@ -419,7 +419,7 @@ bool catalog_view_playlists(void)
419 return true; 419 return true;
420} 420}
421 421
422bool catalog_add_to_a_playlist(char* sel, int sel_attr, 422bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
423 bool new_playlist, char *m3u8name) 423 bool new_playlist, char *m3u8name)
424{ 424{
425 char playlist[MAX_PATH]; 425 char playlist[MAX_PATH];