aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmpdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpdclient.c')
-rw-r--r--src/libmpdclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmpdclient.c b/src/libmpdclient.c
index b0498445e..248d8ea2f 100644
--- a/src/libmpdclient.c
+++ b/src/libmpdclient.c
@@ -957,7 +957,7 @@ void mpd_freeSong(mpd_Song * song) {
free(song);
}
-mpd_Song * mpd_songDup(mpd_Song * song) {
+mpd_Song * mpd_songDup(const mpd_Song * song) {
mpd_Song * ret = mpd_newSong();
if(song->file) ret->file = str_pool_dup(song->file);