aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2015-06-15 14:43:31 +0200
committerPhilip Kaufmann <[email protected]>2015-06-15 14:43:31 +0200
commit40c592aa2139cdab9ffe9ac837e106e79dd0ac1a (patch)
tree4c14f04929bd1ee251a4c331d5fe75b7d76aea14 /src
parentMerge pull request #6274 (diff)
downloaddiscoin-40c592aa2139cdab9ffe9ac837e106e79dd0ac1a.tar.xz
discoin-40c592aa2139cdab9ffe9ac837e106e79dd0ac1a.zip
make CAddrMan::size() return the correct type of size_t
Diffstat (limited to 'src')
-rw-r--r--src/addrman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 373b0f39f..2623d8980 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();
}