summaryrefslogtreecommitdiff
path: root/test/BittorrentHelperTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-08 00:03:25 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 21:39:43 +0900
commit9d15d732edd512a3ff03147da459feaddde511fe (patch)
tree4206d8328e73cdf57e88830fb6b5f64c18f39f73 /test/BittorrentHelperTest.cc
parent12988e5282ef52a2806cbaca9f4074698f35e399 (diff)
Use int32_t for piece length instead of size_t
Diffstat (limited to 'test/BittorrentHelperTest.cc')
-rw-r--r--test/BittorrentHelperTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/BittorrentHelperTest.cc b/test/BittorrentHelperTest.cc
index 247d2113..23ab3b59 100644
--- a/test/BittorrentHelperTest.cc
+++ b/test/BittorrentHelperTest.cc
@@ -293,7 +293,7 @@ void BittorrentHelperTest::testGetPieceLength() {
SharedHandle<DownloadContext> dctx(new DownloadContext());
load(A2_TEST_DIR"/test.torrent", dctx, option_);
- CPPUNIT_ASSERT_EQUAL((size_t)128, dctx->getPieceLength());
+ CPPUNIT_ASSERT_EQUAL(128, dctx->getPieceLength());
}
void BittorrentHelperTest::testGetInfoHashAsString() {