diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-06 15:58:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-06 15:58:50 +0200 |
commit | c61b3f0eadd4ad17398356d941684bc7de58ebcf (patch) | |
tree | 85c195348911e779b098a14526de8fc38e334c37 /src/lmdb/value_stream.cpp | |
parent | Merge pull request #5343 (diff) | |
parent | lmdb: fix size_t size issues on 32 bit (diff) | |
download | monero-c61b3f0eadd4ad17398356d941684bc7de58ebcf.tar.xz |
Merge pull request #5344
5e1a3e48 lmdb: fix size_t size issues on 32 bit (moneromooo-monero)
Diffstat (limited to 'src/lmdb/value_stream.cpp')
-rw-r--r-- | src/lmdb/value_stream.cpp | 4 |
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); |