aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-07-18 23:02:50 +0200
committerRiccardo Spagni <ric@spagni.net>2015-07-18 23:02:52 +0200
commit7ef8e5c033e8537f281a2d0f5b090ad49972539c (patch)
tree99829cd208109b39027f11c412c2e7aa3de29e2a /src
parentMerge pull request #344 (diff)
parentboost doesn't like %zu for size_t, replace with %u (diff)
downloadmonero-7ef8e5c033e8537f281a2d0f5b090ad49972539c.tar.xz
Merge pull request #345
3c13da5 boost doesn't like %zu for size_t, replace with %u (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index da5be17e3..b226018d4 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1356,7 +1356,7 @@ bool simple_wallet::transfer(const std::vector<std::string> &args_)
// if more than one tx necessary, prompt user to confirm
if (ptx_vector.size() > 1)
{
- std::string prompt_str = (boost::format(tr("Your transaction needs to be split into %zu transactions. "
+ std::string prompt_str = (boost::format(tr("Your transaction needs to be split into %u transactions. "
"This will result in a transaction fee being applied to each transaction. Is this okay? (Y/Yes/N/No)")) %
ptx_vector.size()).str();
std::string accepted = command_line::input_line(prompt_str);
@@ -1487,7 +1487,7 @@ bool simple_wallet::sweep_dust(const std::vector<std::string> &args_)
std::string prompt_str = tr("Sweeping ") + print_money(total_dust);
if (ptx_vector.size() > 1) {
- prompt_str = (boost::format(tr("Sweeping %s in %zu transactions for a total fee of %s. Is this okay? (Y/Yes/N/No)")) %
+ prompt_str = (boost::format(tr("Sweeping %s in %u transactions for a total fee of %s. Is this okay? (Y/Yes/N/No)")) %
print_money(total_dust) %
ptx_vector.size() %
print_money(total_fee)).str();