patched parameter type bug that was causing failure on 32 bit

This commit is contained in:
Dion Ahmetaj
2016-10-14 10:37:10 -04:00
parent 34fcfcd7cc
commit a6bc1103fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -616,7 +616,7 @@ namespace cryptonote
return true; return true;
} }
//----------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------
std::pair<uint64_t, uint64_t> core::get_coinbase_tx_sum(const uint64_t start_offset, const uint64_t count) std::pair<uint64_t, uint64_t> core::get_coinbase_tx_sum(const uint64_t start_offset, const size_t count)
{ {
std::list<block> blocks; std::list<block> blocks;
std::list<transaction> txs; std::list<transaction> txs;
+1 -1
View File
@@ -605,7 +605,7 @@ namespace cryptonote
* *
* @return the number of blocks to sync in one go * @return the number of blocks to sync in one go
*/ */
std::pair<uint64_t, uint64_t> get_coinbase_tx_sum(const uint64_t start_offset, const uint64_t count); std::pair<uint64_t, uint64_t> get_coinbase_tx_sum(const uint64_t start_offset, const size_t count);
private: private: