aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-30 09:57:35 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-30 09:57:41 +0200
commit62b0984e65822c91992d6e081e73c8ca228180e6 (patch)
treecb34308b6e2ead8b8d3c0990b516e5fd41dc6594 /src/simplewallet/simplewallet.cpp
parent9292c1e7cddbc65789d1a78a7db99111ce1980f2 (diff)
parent6df4e67cd210295e710fff8942195459da82fbaa (diff)
downloadmonzero-core-62b0984e65822c91992d6e081e73c8ca228180e6.tar.gz
monzero-core-62b0984e65822c91992d6e081e73c8ca228180e6.tar.xz
monzero-core-62b0984e65822c91992d6e081e73c8ca228180e6.zip
Merge pull request #455
6df4e67 Fix a possibly-unused warning, and rationalize types (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp6
1 files changed, 3 insertions, 3 deletions
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<std::string>& 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<int>( args[0] );
+ start_height = boost::lexical_cast<uint64_t>( args[0] );
}
catch(const boost::bad_lexical_cast &)
{