diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 17:11:11 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 17:11:11 +0000 |
commit | db3db0930efff25932290912951ed8d5e27f24a5 (patch) | |
tree | 19fb5bac98ef8b03b53a11b4db9f7619292a9313 /src | |
parent | blockchain_blackball: error out on fgets error (diff) | |
download | monero-db3db0930efff25932290912951ed8d5e27f24a5.tar.xz |
blockchain_blackball: use mdb_size_t where appropriate
Diffstat (limited to 'src')
-rw-r--r-- | src/blockchain_utilities/blockchain_blackball.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_blackball.cpp b/src/blockchain_utilities/blockchain_blackball.cpp index c80dd5862..e4a51381f 100644 --- a/src/blockchain_utilities/blockchain_blackball.cpp +++ b/src/blockchain_utilities/blockchain_blackball.cpp @@ -558,7 +558,7 @@ static std::vector<output_data> get_spent_outputs(MDB_txn *txn) int dbr = mdb_cursor_open(txn, dbi_spent, &cur); CHECK_AND_ASSERT_THROW_MES(!dbr, "Failed to open cursor for spent outputs: " + std::string(mdb_strerror(dbr))); MDB_val k, v; - uint64_t count = 0; + mdb_size_t count = 0; dbr = mdb_cursor_get(cur, &k, &v, MDB_FIRST); if (dbr != MDB_NOTFOUND) { |