aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-27 09:05:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-27 09:05:07 +0000
commit6df4e67cd210295e710fff8942195459da82fbaa (patch)
tree59caa11aa9cd543e4025d22e9b0bfc0cf90cfc9e /src/simplewallet
parentMerge pull request #450 (diff)
downloadmonero-6df4e67cd210295e710fff8942195459da82fbaa.tar.xz
Fix a possibly-unused warning, and rationalize types
Diffstat (limited to 'src/simplewallet')
-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 &)
{