summaryrefslogtreecommitdiffstats
path: root/apps/playlist_catalog.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-05-12 17:52:50 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-05-12 17:52:50 +0000
commitad95df2cabdee6f53ae16f1c24774bfc47add36f (patch)
treebb8851e30b36116a1e3c648114a6d40f38f0f29c /apps/playlist_catalog.c
parent8ea9b94cd95e39f96d3f5cac002ada826a7df5b0 (diff)
downloadrockbox-ad95df2cabdee6f53ae16f1c24774bfc47add36f.tar.gz
rockbox-ad95df2cabdee6f53ae16f1c24774bfc47add36f.tar.bz2
rockbox-ad95df2cabdee6f53ae16f1c24774bfc47add36f.zip
Const police raid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17474 a1c6a512-1295-4272-9138-f99709370657
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)
/* Add "sel" file into specified "playlist". How to insert depends on type
of file */
-static int add_to_playlist(const char* playlist, char* sel, int sel_attr)
+static int add_to_playlist(const char* playlist, const char* sel, int sel_attr)
{
int fd;
int result = -1;
@@ -419,7 +419,7 @@ bool catalog_view_playlists(void)
return true;
}
-bool catalog_add_to_a_playlist(char* sel, int sel_attr,
+bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
bool new_playlist, char *m3u8name)
{
char playlist[MAX_PATH];