aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/playlist.c2
-rw-r--r--src/playlist.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 296b2689b..233e434b7 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -775,7 +775,7 @@ enum playlist_result deleteFromPlaylistById(int id)
return deleteFromPlaylist(song);
}
-void deleteASongFromPlaylist(Song * song)
+void deleteASongFromPlaylist(const Song * song)
{
int i;
diff --git a/src/playlist.h b/src/playlist.h
index f6a8e77ba..8d964aabd 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -101,7 +101,7 @@ enum playlist_result savePlaylist(const char *utf8file);
enum playlist_result deletePlaylist(const char *utf8file);
-void deleteASongFromPlaylist(Song * song);
+void deleteASongFromPlaylist(const Song * song);
enum playlist_result moveSongInPlaylist(int from, int to);