From 8d44d875567d9dc96185b717eadde26bc869bf99 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 19 Jun 2014 03:34:42 +0000 Subject: [PATCH] merge build fix from RC_0_16 --- src/utp_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utp_stream.cpp b/src/utp_stream.cpp index 0ab005731..8e464c8e1 100644 --- a/src/utp_stream.cpp +++ b/src/utp_stream.cpp @@ -1855,7 +1855,7 @@ bool utp_socket_impl::send_pkt(int flags) h->timestamp_difference_microseconds = m_reply_micro; h->wnd_size = (std::max)(m_in_buf_size - m_buffered_incoming_bytes - - m_receive_buffer_size, 0); + - m_receive_buffer_size, boost::int32_t(0)); h->ack_nr = m_ack_nr; // if this is a FIN packet, override the type