X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.h;h=86c8bc818c6c8211dcbb37dde66dd1700c301d36;hp=fe97a0a5a591caf20fae5598664d681518439243;hb=a93ab877877925c60b2dbf56bdde8aa46b6b7391;hpb=e401e5eb79f944bf772e541baed9ef45f0cb4f43 diff --git a/src/wallet.h b/src/wallet.h index fe97a0a..86c8bc8 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -364,7 +364,7 @@ public: bool UpdateSpent(const std::vector& vfNewSpent) { bool fReturn = false; - for (int i=0; i < vfNewSpent.size(); i++) + for (unsigned int i = 0; i < vfNewSpent.size(); i++) { if (i == vfSpent.size()) break; @@ -444,7 +444,7 @@ public: return nAvailableCreditCached; int64 nCredit = 0; - for (int i = 0; i < vout.size(); i++) + for (unsigned int i = 0; i < vout.size(); i++) { if (!IsSpent(i)) { @@ -497,7 +497,7 @@ public: std::vector vWorkQueue; vWorkQueue.reserve(vtxPrev.size()+1); vWorkQueue.push_back(this); - for (int i = 0; i < vWorkQueue.size(); i++) + for (unsigned int i = 0; i < vWorkQueue.size(); i++) { const CMerkleTx* ptx = vWorkQueue[i];