aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/songvec.c')
-rw-r--r--src/songvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/songvec.c b/src/songvec.c
index 19433a222..c15b99074 100644
--- a/src/songvec.c
+++ b/src/songvec.c
@@ -12,7 +12,7 @@ static int songvec_cmp(const void *s1, const void *s2)
return strcmp(a->url, b->url);
}
-static size_t sv_size(struct songvec *sv)
+static size_t sv_size(const struct songvec *sv)
{
return sv->nr * sizeof(struct mpd_song *);
}