fixed warning
This commit is contained in:
parent
a5b664657e
commit
dcad9b3031
|
@ -84,7 +84,8 @@ size_type routing_table::num_global_nodes() const
|
||||||
{
|
{
|
||||||
int first_full = m_lowest_active_bucket;
|
int first_full = m_lowest_active_bucket;
|
||||||
int num_nodes = 1; // we are one of the nodes
|
int num_nodes = 1; // we are one of the nodes
|
||||||
for (; first_full < 160 && m_buckets[first_full].first.size() < m_bucket_size;
|
for (; first_full < 160
|
||||||
|
&& int(m_buckets[first_full].first.size()) < m_bucket_size;
|
||||||
++first_full)
|
++first_full)
|
||||||
{
|
{
|
||||||
num_nodes += m_buckets[first_full].first.size();
|
num_nodes += m_buckets[first_full].first.size();
|
||||||
|
|
|
@ -872,7 +872,7 @@ namespace libtorrent { namespace detail
|
||||||
<< downloading_torrents << "\t"
|
<< downloading_torrents << "\t"
|
||||||
<< seeding_torrents << "\t"
|
<< seeding_torrents << "\t"
|
||||||
<< m_connections.size() << "\t"
|
<< m_connections.size() << "\t"
|
||||||
"\n";
|
std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue