aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/song.c')
-rw-r--r--src/song.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c
index d8d4251dd..83781efb8 100644
--- a/src/song.c
+++ b/src/song.c
@@ -44,7 +44,7 @@ Song *newNullSong(void)
return song;
}
-Song *newSong(char *url, int type, Directory * parentDir)
+Song *newSong(const char *url, int type, Directory * parentDir)
{
Song *song = NULL;
@@ -101,7 +101,7 @@ SongList *newSongList(void)
return makeList((ListFreeDataFunc *) freeSong, 0);
}
-Song *addSongToList(SongList * list, char *url, char *utf8path,
+Song *addSongToList(SongList * list, const char *url, const char *utf8path,
int songType, Directory * parentDirectory)
{
Song *song = NULL;