warning fix

This commit is contained in:
Marcos Pinto 2007-11-07 03:09:42 +00:00
parent 8d6b749a5d
commit e2e507b94b
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)