aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-30 16:37:59 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-30 16:37:59 +0200
commit3faf1f8294065eaabe2d6d24f2fe04ee4dfd6ae2 (patch)
tree3eaa7bc208e7cf9e6898bdab4f6dcfd1d5932323 /src/test
parent5c184cb85070703feca98d9bce4ec0d92ed4b023 (diff)
test: Fix warning about integer signedness in P2SH tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/script_P2SH_tests.cpp2
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);