From: Max Kellermann Date: Thu, 11 Jun 2009 12:04:08 +0000 (+0200) Subject: mpdclient: pass const message to error callback X-Git-Tag: release-0.15~63 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e862c8f17c5dd6ffef0376357c30fa512c1554d9;p=ncmpc.git mpdclient: pass const message to error callback --- 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;