diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-28 19:22:38 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-28 19:38:38 -0700 |
commit | 2470476a2dba60977cb2f982c031af0d4d49d363 (patch) | |
tree | 85397ec830f30b2f75cf66105b5e2dba1ed84f53 /src/playlist.c | |
parent | 9fb0f4f7cc3e4b2e1fb203a1949799a6018fb57b (diff) | |
download | mpd-2470476a2dba60977cb2f982c031af0d4d49d363.tar.gz mpd-2470476a2dba60977cb2f982c031af0d4d49d363.tar.xz mpd-2470476a2dba60977cb2f982c031af0d4d49d363.zip |
playlist: deleteASongFromPlaylist takes a const Song *
We don't change the song pointer there, either.
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c index 0e35bfbdb..af0aaccc0 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -825,7 +825,7 @@ enum playlist_result deleteFromPlaylistById(int id) return deleteFromPlaylist(playlist.idToPosition[id]); } -void deleteASongFromPlaylist(Song * song) +void deleteASongFromPlaylist(const Song * song) { int i; |