From 629d5b76899432e4d6cf8f5a50652c1e08bc4540 Mon Sep 17 00:00:00 2001 From: Chris Vickio Date: Sat, 14 Jan 2017 13:46:05 +0300 Subject: [PATCH] change counter from bool to int (deprecated-increment-bool warning) --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 1550787e5..2173650bf 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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()) {