diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-30 16:37:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-30 16:37:59 +0200 |
commit | 3faf1f8294065eaabe2d6d24f2fe04ee4dfd6ae2 (patch) | |
tree | 3eaa7bc208e7cf9e6898bdab4f6dcfd1d5932323 /src/test/script_P2SH_tests.cpp | |
parent | 5c184cb85070703feca98d9bce4ec0d92ed4b023 (diff) |
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 6ae2b9cf64..a1dc17ba36 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); |