diff options
| author | Pieter Wuille <[email protected]> | 2016-06-08 15:34:18 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-08 15:34:18 +0200 |
| commit | 77f63a4fcd0517a6804bde7285e1859d5a087d77 (patch) | |
| tree | 4fde4d33cea1be4c5e2b06c31ba9cc5f73cd1fcb /src/wallet/wallet.cpp | |
| parent | Merge #7993: [depends] Bump Freetype, ccache, ZeroMQ, miniupnpc, expat (diff) | |
| download | discoin-77f63a4fcd0517a6804bde7285e1859d5a087d77.tar.xz discoin-77f63a4fcd0517a6804bde7285e1859d5a087d77.zip | |
Fix two warnings for comparison between signed and unsigned
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index f3d165472..9faf21591 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2232,7 +2232,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt // Insert change txn at random position: nChangePosInOut = GetRandInt(txNew.vout.size()+1); } - else if (nChangePosInOut > txNew.vout.size()) + else if ((unsigned int)nChangePosInOut > txNew.vout.size()) { strFailReason = _("Change index out of range"); return false; |