lmdb: fix size_t size issues on 32 bit

This commit is contained in:
moneromooo-monero 2019-03-24 22:35:06 +00:00
parent e4b049da05
commit 5e1a3e48ba
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 5 additions and 5 deletions

View file

@ -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.