From 59ffb5b7c126194f3cb74129837961ee849933fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Nov 2009 19:16:25 +0100 Subject: decoder_control: make the song objects const They are just informational. --- src/decoder_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder_thread.c') diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 7308795c..2f643d45 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -263,7 +263,7 @@ decoder_run_song(struct decoder_control *dc, static void decoder_run(struct decoder_control *dc) { - struct song *song = dc->next_song; + const struct song *song = dc->next_song; char *uri; if (song_is_file(song)) -- cgit v1.2.3