aboutsummaryrefslogtreecommitdiff
path: root/src/lmdb/value_stream.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-24 22:35:06 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-31 11:12:21 +0000
commit5e1a3e48ba426eace417890727382d4a0196ab0e (patch)
tree69b15b5b0971c2ffed357a066ba3bceb28c8d3a1 /src/lmdb/value_stream.cpp
parentMerge pull request #5286 (diff)
downloadmonero-5e1a3e48ba426eace417890727382d4a0196ab0e.tar.xz
lmdb: fix size_t size issues on 32 bit
Diffstat (limited to 'src/lmdb/value_stream.cpp')
-rw-r--r--src/lmdb/value_stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lmdb/value_stream.cpp b/src/lmdb/value_stream.cpp
index 1024deb06..604140e47 100644
--- a/src/lmdb/value_stream.cpp
+++ b/src/lmdb/value_stream.cpp
@@ -36,9 +36,9 @@ namespace lmdb
{
namespace stream
{
- std::size_t count(MDB_cursor* cur)
+ mdb_size_t count(MDB_cursor* cur)
{
- std::size_t out = 0;
+ mdb_size_t out = 0;
if (cur)
{
const int rc = mdb_cursor_count(cur, &out);