aboutsummaryrefslogtreecommitdiff
path: root/src/test/base58_tests.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2012-05-09 04:07:24 -0700
committerGregory Maxwell <[email protected]>2012-05-09 04:07:24 -0700
commit2e767410b83a4468bf83be9c39f99cf0325c7739 (patch)
treec7777e11f9360dc415a19a7fcb04daa1e945976b /src/test/base58_tests.cpp
parentMerge pull request #1235 from Diapolo/translation_en (diff)
parentClean up warnings (diff)
downloaddiscoin-2e767410b83a4468bf83be9c39f99cf0325c7739.tar.xz
discoin-2e767410b83a4468bf83be9c39f99cf0325c7739.zip
Merge pull request #1230 from sipa/warnings
Clean up warnings
Diffstat (limited to 'src/test/base58_tests.cpp')
-rw-r--r--src/test/base58_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/base58_tests.cpp b/src/test/base58_tests.cpp
index d52ac7498..de4096cd3 100644
--- a/src/test/base58_tests.cpp
+++ b/src/test/base58_tests.cpp
@@ -67,7 +67,7 @@ const char *vstrOut[] = {
BOOST_AUTO_TEST_CASE(base58_EncodeBase58)
{
- for (int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
+ for (unsigned int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
{
BOOST_CHECK_EQUAL(EncodeBase58(vstrIn[i].data, vstrIn[i].data + vstrIn[i].size), vstrOut[i]);
}
@@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE(base58_EncodeBase58)
BOOST_AUTO_TEST_CASE(base58_DecodeBase58)
{
std::vector<unsigned char> result;
- for (int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
+ for (unsigned int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
{
std::vector<unsigned char> expected(vstrIn[i].data, vstrIn[i].data + vstrIn[i].size);
BOOST_CHECK(DecodeBase58(vstrOut[i], result));