mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
make CAddrMan::size() return the correct type of size_t
This commit is contained in:
@@ -458,7 +458,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Return the number of (unique) addresses in all tables.
|
//! Return the number of (unique) addresses in all tables.
|
||||||
int size()
|
size_t size() const
|
||||||
{
|
{
|
||||||
return vRandom.size();
|
return vRandom.size();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user