Mercurial > pidgin
changeset 21318:9bbb0950fa73
Explicitly cast from xmlChar (== unsigned char) to char, squishing a warning.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 11 Nov 2007 14:12:51 +0000 |
parents | 84925e6055bc |
children | 85fbadb8b8fd |
files | libpurple/xmlnode.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/xmlnode.c Sun Nov 11 14:10:06 2007 +0000 +++ b/libpurple/xmlnode.c Sun Nov 11 14:12:51 2007 +0000 @@ -590,7 +590,7 @@ } 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);