diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 582aeb0bc..d2d174e4e 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2421,7 +2421,7 @@ UniValue getwalletinfo(const UniValue& params, bool fHelp) obj.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex())); obj.push_back(Pair("hdaccountcount", (int64_t)hdChainCurrent.CountAccounts())); UniValue accounts(UniValue::VARR); - for (int i = 0; i < hdChainCurrent.CountAccounts(); ++i) + for (size_t i = 0; i < hdChainCurrent.CountAccounts(); ++i) { CHDAccount acc; UniValue account(UniValue::VOBJ);