From f7e3651d916f03c0a8d51dbd0e265bc5623979a3 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 31 Jul 2008 12:28:12 +0000 Subject: 2008-07-31 Tatsuhiro Tsujikawa Applied tizianomueller's patch to fix compile error. * test/BitfieldManTest.cc * test/BtRequestMessageTest.cc * test/DefaultBtContextTest.cc * test/DefaultDiskWriterTest.cc * test/DefaultPieceStorageTest.cc * test/HttpHeaderProcessorTest.cc * test/HttpResponseTest.cc * test/Metalink2RequestGroupTest.cc * test/MetalinkParserControllerTest.cc * test/MetalinkProcessorTest.cc * test/PeerSessionResourceTest.cc * test/UtilTest.cc --- test/PeerSessionResourceTest.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/PeerSessionResourceTest.cc') diff --git a/test/PeerSessionResourceTest.cc b/test/PeerSessionResourceTest.cc index 5d39414b..91908469 100644 --- a/test/PeerSessionResourceTest.cc +++ b/test/PeerSessionResourceTest.cc @@ -103,20 +103,20 @@ void PeerSessionResourceTest::testUpdateUploadLength() { PeerSessionResource res(1024, 1024*1024); - CPPUNIT_ASSERT_EQUAL(0ULL, res.uploadLength()); + CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, res.uploadLength()); res.updateUploadLength(100); res.updateUploadLength(200); - CPPUNIT_ASSERT_EQUAL(300ULL, res.uploadLength()); + CPPUNIT_ASSERT_EQUAL((uint64_t)300ULL, res.uploadLength()); } void PeerSessionResourceTest::testUpdateDownloadLength() { PeerSessionResource res(1024, 1024*1024); - CPPUNIT_ASSERT_EQUAL(0ULL, res.downloadLength()); + CPPUNIT_ASSERT_EQUAL((uint64_t)0ULL, res.downloadLength()); res.updateDownloadLength(100); res.updateDownloadLength(200); - CPPUNIT_ASSERT_EQUAL(300ULL, res.downloadLength()); + CPPUNIT_ASSERT_EQUAL((uint64_t)300ULL, res.downloadLength()); } void PeerSessionResourceTest::testUpdateLatency() -- cgit