From a6bc1103fd78c539e08e44a94fc3220890ae1ed5 Mon Sep 17 00:00:00 2001 From: Dion Ahmetaj Date: Thu, 13 Oct 2016 12:49:25 -0400 Subject: [PATCH] patched parameter type bug that was causing failure on 32 bit --- src/cryptonote_core/cryptonote_core.cpp | 2 +- src/cryptonote_core/cryptonote_core.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 9a44d9d3..a82d9641 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -616,7 +616,7 @@ namespace cryptonote return true; } //----------------------------------------------------------------------------------------------- - std::pair core::get_coinbase_tx_sum(const uint64_t start_offset, const uint64_t count) + std::pair core::get_coinbase_tx_sum(const uint64_t start_offset, const size_t count) { std::list blocks; std::list txs; diff --git a/src/cryptonote_core/cryptonote_core.h b/src/cryptonote_core/cryptonote_core.h index 407e8919..d925a184 100644 --- a/src/cryptonote_core/cryptonote_core.h +++ b/src/cryptonote_core/cryptonote_core.h @@ -605,7 +605,7 @@ namespace cryptonote * * @return the number of blocks to sync in one go */ - std::pair get_coinbase_tx_sum(const uint64_t start_offset, const uint64_t count); + std::pair get_coinbase_tx_sum(const uint64_t start_offset, const size_t count); private: