From 9819890f1dfe1bcb128f9857efd26f37b1a601ee Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Sep 2008 13:17:37 +0200 Subject: playlist: deleteASongFromPlaylist takes a const Song * We don't change the song pointer there, either. --- src/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist.c') 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; -- cgit v1.2.3