change counter from bool to int (deprecated-increment-bool warning)

This commit is contained in:
Chris Vickio 2017-01-14 13:46:05 +03:00
parent fb76d43980
commit 629d5b7689

View file

@ -5035,7 +5035,7 @@ std::string wallet2::make_uri(const std::string &address, const std::string &pay
}
std::string uri = "monero:" + address;
bool n_fields = 0;
unsigned int n_fields = 0;
if (!payment_id.empty())
{