diff options
Diffstat (limited to 'libpurple')
-rw-r--r-- | libpurple/xmlnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/xmlnode.c b/libpurple/xmlnode.c index e069082eca..f5e95a6bc6 100644 --- a/libpurple/xmlnode.c +++ b/libpurple/xmlnode.c @@ -590,7 +590,7 @@ xmlnode_parser_element_start_libxml(void *user_data, } 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); |