libpurple/protocols/bonjour/jabber.c

branch
release-2.x.y
changeset 36256
a437550a9308
parent 36028
fc5300cb3617
child 36257
c5445f25f90f
child 38213
fe644fbe41c9
--- a/libpurple/protocols/bonjour/jabber.c	Wed Nov 12 19:15:24 2014 -0500
+++ b/libpurple/protocols/bonjour/jabber.c	Thu Nov 13 00:56:55 2014 -0500
@@ -1169,7 +1169,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