warning fix

This commit is contained in:
Arvid Norberg 2007-11-07 01:38:17 +00:00
parent b3c40ea7e8
commit 8868469f2f
1 changed files with 1 additions and 1 deletions

View File

@ -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)