From e862c8f17c5dd6ffef0376357c30fa512c1554d9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 11 Jun 2009 14:04:08 +0200 Subject: [PATCH] mpdclient: pass const message to error callback --- src/mpdclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpdclient.c b/src/mpdclient.c index b1d927b..2896338 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -95,7 +95,7 @@ compare_filelistentry_format(gconstpointer filelist_entry1, /* Error callbacks */ static gint -error_cb(mpdclient_t *c, gint error, gchar *msg) +error_cb(mpdclient_t *c, gint error, const gchar *msg) { GList *list = c->error_callbacks; -- 2.30.2