aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-14 17:11:11 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-14 17:11:11 +0000
commitdb3db0930efff25932290912951ed8d5e27f24a5 (patch)
tree19fb5bac98ef8b03b53a11b4db9f7619292a9313
parentblockchain_blackball: error out on fgets error (diff)
downloadmonero-db3db0930efff25932290912951ed8d5e27f24a5.tar.xz
blockchain_blackball: use mdb_size_t where appropriate
-rw-r--r--src/blockchain_utilities/blockchain_blackball.cpp2
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)
{