diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-30 16:37:59 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-30 16:37:59 +0200 |
| commit | 3faf1f8294065eaabe2d6d24f2fe04ee4dfd6ae2 (patch) | |
| tree | 3eaa7bc208e7cf9e6898bdab4f6dcfd1d5932323 /src/test/script_P2SH_tests.cpp | |
| parent | Merge pull request #4415 (diff) | |
| download | discoin-3faf1f8294065eaabe2d6d24f2fe04ee4dfd6ae2.tar.xz discoin-3faf1f8294065eaabe2d6d24f2fe04ee4dfd6ae2.zip | |
test: Fix warning about integer signedness in P2SH tests
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
| -rw-r--r-- | src/test/script_P2SH_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_P2SH_tests.cpp b/src/test/script_P2SH_tests.cpp index 6ae2b9cf6..a1dc17ba3 100644 --- a/src/test/script_P2SH_tests.cpp +++ b/src/test/script_P2SH_tests.cpp @@ -294,7 +294,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard) // vout[4] is max sigops: CScript fifteenSigops; fifteenSigops << OP_1; - for (int i = 0; i < MAX_P2SH_SIGOPS; i++) + for (unsigned i = 0; i < MAX_P2SH_SIGOPS; i++) fifteenSigops << key[i%3].GetPubKey(); fifteenSigops << OP_15 << OP_CHECKMULTISIG; keystore.AddCScript(fifteenSigops); |