diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-08-15 15:11:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-08-15 15:11:01 +0000 |
| commit | 3cc1ed5e0907e9adb3b258ba1b94e3bda64c4219 (patch) | |
| tree | 3948159d6facd7175560c55679116caa09596893 /test/OptionTest.cc | |
| parent | 6aa98f9b9fdf48933b09952f037329ef63d0d8da (diff) | |
2007-08-10 Ross Smith II <aria2spam at smithii dot com>
gcc 3.4.4 support:
* src/DefaultBtContext.cc: int32_t -> int
* src/main.cc: int -> int32_t, int32_t -> int
* src/messageDigest.h: uint32_t -> unsigned int
* src/NameResolver.h: int32_t -> int
* src/PeerConnection.cc: int -> int32_t
* src/SpeedCalc.cc: int32_t -> int
* src/TrackerUpdateCommand.h: int -> int32_t
* src/Util.cc: int32_t -> int
* src/Util.h: int32_t -> int
* src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t ->
uint64_t
* test/AnnounceListTest.cc: int -> int32_t
* test/ChunkedEncodingTest.cc: int -> int32_t
* test/DataTest.cc: int -> int32_t
* test/DefaultBtRequestFactoryTest.cc: int -> int32_t
* test/DefaultPeerListProcessorTest.cc: int -> int32_t
* test/DefaultPieceStorageTest.cc: int -> int32_t
* test/FeatureConfigTest.cc: int -> int32_t
* test/MetalinkEntryTest.cc: int -> int32_t
* test/MockBtRequestFactory.h: int -> int32_t
* test/MockPieceStorage.h: int -> int32_t
* test/OptionTest.cc: int -> int32_t
* test/RequestTest.cc: int -> int32_t
* test/SegmentManTest.cc: int -> int32_t
* test/Xml2MetalinkProcessorTest.cc: int -> int32_t
Diffstat (limited to 'test/OptionTest.cc')
| -rw-r--r-- | test/OptionTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OptionTest.cc b/test/OptionTest.cc index 3bb1b683..c3fc830b 100644 --- a/test/OptionTest.cc +++ b/test/OptionTest.cc @@ -38,7 +38,7 @@ void OptionTest::testPutAndGetAsInt() { op.put("key", "1000"); CPPUNIT_ASSERT(op.defined("key")); - CPPUNIT_ASSERT_EQUAL(1000, op.getAsInt("key")); + CPPUNIT_ASSERT_EQUAL((int32_t)1000, op.getAsInt("key")); } void OptionTest::testPutAndGetAsDouble() { |
