pidgin: cda48e73: Remove compile warnings.

sadrul at pidgin.im sadrul at pidgin.im
Sun Jun 1 17:40:54 EDT 2008


-----------------------------------------------------------------
Revision: cda48e730e5e8d58bac7dd59513ca939e3177b5f
Ancestor: 45d6ac96faff4505b292cb4df4cdf8104114a04b
Author: sadrul at pidgin.im
Date: 2008-06-01T21:20:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/cda48e730e5e8d58bac7dd59513ca939e3177b5f

Modified files:
        libpurple/protocols/jabber/buddy.c

ChangeLog: 

Remove compile warnings.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/buddy.c	e0c5c843c37ca7e37813e88635b0d909dc78c60c
+++ libpurple/protocols/jabber/buddy.c	ffe92b835210e45df79fbf1859e79014ab48c62b
@@ -824,7 +824,7 @@ static void jabber_buddy_info_show_if_re
 		}		
 		if(jbr) {
 			char *purdy = NULL;
-			char *status_name = jabber_buddy_state_get_name(jbr->state);
+			const char *status_name = jabber_buddy_state_get_name(jbr->state);
 			if(jbr->status)
 				purdy = purple_strdup_withhtml(jbr->status);
 			if(status_name && purdy && !strcmp(status_name, purdy))
@@ -967,8 +967,9 @@ static void jabber_buddy_info_show_if_re
 		gboolean multiple_resources = jbi->jb->resources && (g_list_length(jbi->jb->resources) > 1);
 
 		for(resources = jbi->jb->resources; resources; resources = resources->next) {
-			char *purdy = NULL, *status_name = NULL;
-			
+			char *purdy = NULL;
+			const char *status_name = NULL;
+
 			jbr = resources->data;
 
 			if(jbr->client.name) {


More information about the Commits mailing list