/pidgin/main: 8688b5d1821e: Fix Pidgin bad align cast warning

Tomasz Wasilczyk twasilczyk at pidgin.im
Thu Apr 3 07:45:39 EDT 2014


Changeset: 8688b5d1821ec3b30f609b0ac8070f272bce998b
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-03 13:45 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/8688b5d1821e

Description:

Fix Pidgin bad align cast warning

diffstat:

 pidgin/gtkconv.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -5767,8 +5767,9 @@ conv_dnd_recv(GtkWidget *widget, GdkDrag
 		PidginConversation *gtkconv = NULL;
 		PurpleAccount *buddyaccount;
 		const char *buddyname;
-
-		n = *(PurpleBlistNode **) data;
+		PurpleBlistNode **data_val = (gpointer)data;
+
+		n = *data_val;
 
 		if (PURPLE_IS_CONTACT(n))
 			b = purple_contact_get_priority_buddy((PurpleContact*)n);



More information about the Commits mailing list