changeset 30865:b785e4256a66

Fix a warning caused because slpmsg->buffer is unsigned and the function spect a gchar pointer. I don't think this can harm in any way.
author masca@cpw.pidgin.im
date Thu, 05 Aug 2010 22:47:36 +0000
parents e32332ac385c
children b682664bae30
files libpurple/protocols/msn/slpmsg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Thu Aug 05 22:41:22 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Thu Aug 05 22:47:36 2010 +0000
@@ -346,7 +346,7 @@
 	g_string_append_printf(str, "ACK Size:   %" G_GUINT64_FORMAT "\r\n", slpmsg->header->ack_size);
 
 	if (purple_debug_is_verbose() && slpmsg->buffer != NULL) {
-		g_string_append_len(str, slpmsg->buffer, slpmsg->size);
+		g_string_append_len(str, (gchar*)slpmsg->buffer, slpmsg->size);
 
 		if (slpmsg->buffer[slpmsg->size - 1] == '\0') {
 			str->len--;