# HG changeset patch # User Gary Kramlich # Date 1670154966 21600 # Node ID ba714f65be709deeb3391daa484e21e37785c99d # Parent d3117aac63b3c238dc34dddc0687f7f8dfaa48ce Silence some warning in PurpleContactManager Testing Done: Compiled and verified the warnings were gone. Reviewed at https://reviews.imfreedom.org/r/2112/ diff -r d3117aac63b3 -r ba714f65be70 libpurple/purplecontactmanager.c --- a/libpurple/purplecontactmanager.c Fri Dec 02 12:46:05 2022 -0600 +++ b/libpurple/purplecontactmanager.c Sun Dec 04 05:56:06 2022 -0600 @@ -46,8 +46,8 @@ purple_contact_manager_find_with_username_helper(gconstpointer a, gconstpointer b) { - PurpleContactInfo *info_a = PURPLE_CONTACT_INFO(a); - PurpleContactInfo *info_b = PURPLE_CONTACT_INFO(b); + PurpleContactInfo *info_a = PURPLE_CONTACT_INFO((gpointer)a); + PurpleContactInfo *info_b = PURPLE_CONTACT_INFO((gpointer)b); const gchar *username_a = NULL; const gchar *username_b = NULL; @@ -59,8 +59,8 @@ static gboolean purple_contact_manager_find_with_id_helper(gconstpointer a, gconstpointer b) { - PurpleContactInfo *info_a = PURPLE_CONTACT_INFO(a); - PurpleContactInfo *info_b = PURPLE_CONTACT_INFO(b); + PurpleContactInfo *info_a = PURPLE_CONTACT_INFO((gpointer)a); + PurpleContactInfo *info_b = PURPLE_CONTACT_INFO((gpointer)b); const gchar *id_a = NULL; const gchar *id_b = NULL;