aboutsummaryrefslogtreecommitdiff
path: root/src/lmdb/value_stream.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-06 15:58:50 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-06 15:58:50 +0200
commitc61b3f0eadd4ad17398356d941684bc7de58ebcf (patch)
tree85c195348911e779b098a14526de8fc38e334c37 /src/lmdb/value_stream.h
parentMerge pull request #5343 (diff)
parentlmdb: fix size_t size issues on 32 bit (diff)
downloadmonero-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.h')
-rw-r--r--src/lmdb/value_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lmdb/value_stream.h b/src/lmdb/value_stream.h
index c9977221f..01090aa67 100644
--- a/src/lmdb/value_stream.h
+++ b/src/lmdb/value_stream.h
@@ -43,7 +43,7 @@ namespace lmdb
\throw std::system_error if unexpected LMDB error.
\return 0 if `cur == nullptr`, otherwise count of values at current key.
*/
- std::size_t count(MDB_cursor* cur);
+ mdb_size_t count(MDB_cursor* cur);
/*!
Calls `mdb_cursor_get` and does some error checking.