Thu, 24 May 2018 15:12:34 -0500
jabber: Fix assignment from incompatible pointer type warning
This patch removes an unneeded cast from a variable which was
causing an "assignment from incompatible pointer type" warning.
| libpurple/protocols/jabber/message.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/jabber/message.c Thu May 24 14:48:20 2018 +0000 +++ b/libpurple/protocols/jabber/message.c Thu May 24 15:12:34 2018 -0500 @@ -571,7 +571,7 @@ JabberMessageRemoteSmileyAddData *data = NULL; data = g_slice_new(JabberMessageRemoteSmileyAddData); - data->conv = g_object_ref(G_OBJECT(conv)); + data->conv = g_object_ref(conv); data->shortcut = g_strdup(shortcut); purple_debug_info("jabber", "smiley data is unknown, "