diff options
-rw-r--r-- | src/songvec.c | 2 | ||||
-rw-r--r-- | src/songvec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/songvec.c b/src/songvec.c index 7ce1285f6..579ac7033 100644 --- a/src/songvec.c +++ b/src/songvec.c @@ -30,7 +30,7 @@ Song *songvec_find(struct songvec *sv, const char *url) return NULL; } -int songvec_delete(struct songvec *sv, Song *del) +int songvec_delete(struct songvec *sv, const Song *del) { int i; diff --git a/src/songvec.h b/src/songvec.h index b823724e7..fb5c38c8b 100644 --- a/src/songvec.h +++ b/src/songvec.h @@ -13,7 +13,7 @@ void songvec_sort(struct songvec *sv); Song *songvec_find(struct songvec *sv, const char *url); -int songvec_delete(struct songvec *sv, Song *del); +int songvec_delete(struct songvec *sv, const Song *del); void songvec_add(struct songvec *sv, Song *add); |