diff options
| author | Jeff Garzik <[email protected]> | 2012-04-15 16:52:09 -0400 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-04-17 14:59:32 -0400 |
| commit | 0c3aa881e2ac7a6142fcfcbb9b7d2824532fe522 (patch) | |
| tree | c3205a1993fa5e2bc5c2b82e692cb36c8bc84d71 /src/bitcoinrpc.cpp | |
| parent | Merge branch '0.5.x' into 0.6.0.x (diff) | |
| download | discoin-0c3aa881e2ac7a6142fcfcbb9b7d2824532fe522.tar.xz discoin-0c3aa881e2ac7a6142fcfcbb9b7d2824532fe522.zip | |
Fix loop index var types, fixing many minor sign comparison warnings
foo.size() typically returns an unsigned integral type; make loop variables
match those types' signedness.
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index e9056ca0a..ab4238fbb 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1008,7 +1008,7 @@ Value addmultisigaddress(const Array& params, bool fHelp) "(got %d, need at least %d)", keys.size(), nRequired)); std::vector<CKey> pubkeys; pubkeys.resize(keys.size()); - for (int i = 0; i < keys.size(); i++) + for (unsigned int i = 0; i < keys.size(); i++) { const std::string& ks = keys[i].get_str(); |