aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-06-15 14:43:31 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-06-15 14:43:31 +0200
commit40c592aa2139cdab9ffe9ac837e106e79dd0ac1a (patch)
tree4c14f04929bd1ee251a4c331d5fe75b7d76aea14 /src/addrman.h
parentc1fb0e1075f626ea23d832b07b2070e0638f4215 (diff)
downloadbitcoin-40c592aa2139cdab9ffe9ac837e106e79dd0ac1a.tar.xz
make CAddrMan::size() return the correct type of size_t
Diffstat (limited to 'src/addrman.h')
-rw-r--r--src/addrman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 373b0f39f3..2623d89809 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -458,7 +458,7 @@ public:
}
//! Return the number of (unique) addresses in all tables.
- int size()
+ size_t size() const
{
return vRandom.size();
}