im.pidgin.pidgin: 69e2383bb3023269544a242c2538d711fd64d416

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sun Nov 11 09:21:11 EST 2007


-----------------------------------------------------------------
Revision: 69e2383bb3023269544a242c2538d711fd64d416
Ancestor: c009217378fc8c5b836113654e0e7642ee1ed345
Author: resiak at soc.pidgin.im
Date: 2007-11-11T14:12:51
Branch: im.pidgin.pidgin

Modified files:
        libpurple/xmlnode.c

ChangeLog: 

Explicitly cast from xmlChar (== unsigned char) to char, squishing a warning.

-------------- next part --------------
============================================================
--- libpurple/xmlnode.c	3d602916a7095d0f7882ec3bc226855491800d79
+++ libpurple/xmlnode.c	70ea5575d11fa21ed040d3c7bdbcb71b2f32d17a
@@ -590,7 +590,7 @@ xmlnode_parser_element_start_libxml(void
 		}
 
 		for(i=0; i < nb_attributes * 5; i+=5) {
-			const char *prefix = attributes[i + 1];
+			const char *prefix = (const char *)attributes[i + 1];
 			char *txt;
 			int attrib_len = attributes[i+4] - attributes[i+3];
 			char *attrib = g_malloc(attrib_len + 1);


More information about the Commits mailing list