diff libpurple/protocols/bonjour/parser.c @ 22011:76e0463db3aa

Squash some compiler warnings, some from my -Wstrict-prototypes fixing.
author Richard Laager <rlaager@wiktel.com>
date Sat, 05 Jan 2008 18:01:12 +0000
parents cc0809ec0c85
children 1c87e81c44fa
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/parser.c	Sat Jan 05 17:14:32 2008 +0000
+++ b/libpurple/protocols/bonjour/parser.c	Sat Jan 05 18:01:12 2008 +0000
@@ -39,7 +39,7 @@
 	for(i=0; i < nb_attributes * 5; i+=5) {
 		if(!xmlStrcmp(attributes[i], (xmlChar*) "from")) {
 			int len = attributes[i+4] - attributes[i+3];
-			bconv->buddy_name = g_strndup(attributes[i+3], len);
+			bconv->buddy_name = g_strndup((char *)attributes[i+3], len);
 			bonjour_jabber_conv_match_by_name(bconv);
 
 			return (bconv->pb != NULL);