Skip to content

Commit 40c592a

Browse files
author
Philip Kaufmann
committed
make CAddrMan::size() return the correct type of size_t
1 parent c1fb0e1 commit 40c592a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addrman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class CAddrMan
458458
}
459459

460460
//! Return the number of (unique) addresses in all tables.
461-
int size()
461+
size_t size() const
462462
{
463463
return vRandom.size();
464464
}

0 commit comments

Comments
 (0)