From 6df4e67cd210295e710fff8942195459da82fbaa Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 27 Oct 2015 09:05:07 +0000 Subject: Fix a possibly-unused warning, and rationalize types --- src/simplewallet/simplewallet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 2661dd597..2c8bfc21c 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1104,12 +1104,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 &) { -- cgit v1.2.3