libpurple/protocols/bonjour/jabber.c

changeset 36003
7939026380e1
parent 36002
31a8779e91d4
child 36031
9eb8f52893d0
child 37144
8b63b9948107
--- a/libpurple/protocols/bonjour/jabber.c	Wed May 07 11:07:45 2014 +0200
+++ b/libpurple/protocols/bonjour/jabber.c	Wed May 07 11:16:46 2014 +0200
@@ -1185,7 +1185,7 @@
 			/* Send the end of the stream to the other end of the conversation */
 			if (bconv->sent_stream_start == FULLY_SENT) {
 				size_t len = strlen(STREAM_END);
-				if (send(bconv->socket, STREAM_END, len, 0) != len) {
+				if (send(bconv->socket, STREAM_END, len, 0) != (gssize)len) {
 					purple_debug_error("bonjour",
 						"bonjour_jabber_close_conversation: "
 						"couldn't send data\n");

mercurial