From e2e507b94bead94c0bddc99dc9d55897b0951c61 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 7 Nov 2007 03:09:42 +0000 Subject: [PATCH] warning fix --- libtorrent/src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/session_impl.cpp b/libtorrent/src/session_impl.cpp index 0828578f0..9f7255b7f 100755 --- a/libtorrent/src/session_impl.cpp +++ b/libtorrent/src/session_impl.cpp @@ -745,7 +745,7 @@ namespace detail int conn = m_connections.size(); #endif (*m_connections.begin())->disconnect(); - TORRENT_ASSERT(conn == m_connections.size() + 1); + TORRENT_ASSERT(conn == int(m_connections.size()) + 1); } #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)