diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 3d0c8dc9d..5fa27afcf 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1113,12 +1113,12 @@ bool simple_wallet::refresh(const std::vector& args) message_writer() << tr("Starting refresh..."); - size_t fetched_blocks = 0; - size_t start_height = 0; + uint64_t fetched_blocks = 0; + uint64_t start_height = 0; if(!args.empty()){ try { - start_height = boost::lexical_cast( args[0] ); + start_height = boost::lexical_cast( args[0] ); } catch(const boost::bad_lexical_cast &) { diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 0a02033df..2f54af2c9 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -382,7 +382,7 @@ void wallet2::get_blocks_from_zmq_msg(zmsg_t *msg, std::list &blocks); - void pull_blocks(uint64_t start_height, size_t& blocks_added); + void pull_blocks(uint64_t start_height, uint64_t& blocks_added); uint64_t select_transfers(uint64_t needed_money, bool add_dust, uint64_t dust, std::list& selected_transfers); bool prepare_file_names(const std::string& file_path); void process_unconfirmed(const cryptonote::transaction& tx);