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
3 changed files with 5 additions and 5 deletions

View File

@@ -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);