aboutsummaryrefslogtreecommitdiff
path: root/src/test/base64_tests.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <gmaxwell@gmail.com>2012-05-09 04:07:24 -0700
committerGregory Maxwell <gmaxwell@gmail.com>2012-05-09 04:07:24 -0700
commit2e767410b83a4468bf83be9c39f99cf0325c7739 (patch)
treec7777e11f9360dc415a19a7fcb04daa1e945976b /src/test/base64_tests.cpp
parentc164396ddc57e26dfd5308c24445a7756caa9255 (diff)
parentf621326c24791be14aa61221f7e35530378b84d8 (diff)
downloadbitcoin-2e767410b83a4468bf83be9c39f99cf0325c7739.tar.xz
Merge pull request #1230 from sipa/warnings
Clean up warnings
Diffstat (limited to 'src/test/base64_tests.cpp')
-rw-r--r--src/test/base64_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/base64_tests.cpp b/src/test/base64_tests.cpp
index fff30ef5eb..c5a053e2eb 100644
--- a/src/test/base64_tests.cpp
+++ b/src/test/base64_tests.cpp
@@ -10,7 +10,7 @@ BOOST_AUTO_TEST_CASE(base64_testvectors)
{
static const std::string vstrIn[] = {"","f","fo","foo","foob","fooba","foobar"};
static const std::string vstrOut[] = {"","Zg==","Zm8=","Zm9v","Zm9vYg==","Zm9vYmE=","Zm9vYmFy"};
- for (int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
+ for (unsigned int i=0; i<sizeof(vstrIn)/sizeof(vstrIn[0]); i++)
{
std::string strEnc = EncodeBase64(vstrIn[i]);
BOOST_CHECK(strEnc == vstrOut[i]);