Code

screen_artist: add_query: add a "const"
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 26 Aug 2011 23:46:17 +0000 (01:46 +0200)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Mon, 29 Aug 2011 20:29:56 +0000 (22:29 +0200)
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;