From 3d04b5cc49b66896719b0b9f3a87fec2aa79c615 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 19 Nov 2011 20:06:20 +0000 Subject: [PATCH] fix logging formatting bug in utp_stream --- 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 10566e412..a249d9421 100644 --- a/src/utp_stream.cpp +++ b/src/utp_stream.cpp @@ -2823,7 +2823,7 @@ void utp_socket_impl::do_ledbat(int acked_bytes, int delay, int in_flight, ptime if (window_size_left >= m_mtu) { UTP_LOGV("%8p: mtu:%d in_flight:%d adv_wnd:%d cwnd:%d acked_bytes:%d cwnd_full -> 0\n" - , this, m_mtu, in_flight, m_adv_wnd, m_cwnd >> 16, acked_bytes); + , this, m_mtu, in_flight, int(m_adv_wnd), int(m_cwnd >> 16), acked_bytes); m_cwnd_full = false; } }