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/rpcwallet.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/rpcwallet.cpp')
| -rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1300e39aa..2d4e95911 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2457,7 +2457,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp) if (origTx.vout.size() == 0) throw JSONRPCError(RPC_INVALID_PARAMETER, "TX must have at least one output"); - if (changePosition != -1 && (changePosition < 0 || changePosition > origTx.vout.size())) + if (changePosition != -1 && (changePosition < 0 || (unsigned int)changePosition > origTx.vout.size())) throw JSONRPCError(RPC_INVALID_PARAMETER, "changePosition out of bounds"); CMutableTransaction tx(origTx); |