warning fix

This commit is contained in:
Marcos Pinto 2007-11-07 03:09:42 +00:00
commit e2e507b94b

View file

@ -745,7 +745,7 @@ namespace detail
int conn = m_connections.size(); int conn = m_connections.size();
#endif #endif
(*m_connections.begin())->disconnect(); (*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) #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)