Code

screen_artist: add_query: add a "const"
[ncmpc.git] / src / screen_artist.c
index cf775b5d5daf6f75b21a3cbf4c94aa614a1b1449..185c57483ca5b434fc2601839b80c3305bf16f98 100644 (file)
@@ -449,7 +449,7 @@ screen_artist_update(struct mpdclient *c)
 }
 
 static void
-add_query(struct mpdclient *c, enum mpd_tag_type table, char *_filter)
+add_query(struct mpdclient *c, enum mpd_tag_type table, const char *_filter)
 {
        struct mpd_connection *connection = mpdclient_get_connection(c);
        char *str;