aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/songvec.c')
-rw-r--r--src/songvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/songvec.c b/src/songvec.c
index c4f702aef..c306ab640 100644
--- a/src/songvec.c
+++ b/src/songvec.c
@@ -84,7 +84,8 @@ void songvec_destroy(struct songvec *sv)
pthread_mutex_unlock(&nr_lock);
}
-int songvec_for_each(struct songvec *sv, int (*fn)(struct mpd_song *, void *), void *arg)
+int songvec_for_each(const struct songvec *sv,
+ int (*fn)(struct mpd_song *, void *), void *arg)
{
size_t i;