--- 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");