mirror of https://github.com/aria2/aria2
2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compiler warning. * test/UtilTest.ccpull/1/head
parent
915aa676f8
commit
93edc7bd20
|
@ -1,3 +1,8 @@
|
||||||
|
2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Fixed compiler warning.
|
||||||
|
* test/UtilTest.cc
|
||||||
|
|
||||||
2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Treat Cookie object as session cookie if expiry = 0 is given.
|
Treat Cookie object as session cookie if expiry = 0 is given.
|
||||||
|
|
|
@ -681,7 +681,7 @@ void UtilTest::testHttpGMT()
|
||||||
CPPUNIT_ASSERT_EQUAL((time_t)2147483647,
|
CPPUNIT_ASSERT_EQUAL((time_t)2147483647,
|
||||||
Util::httpGMT("Tue, 2038-01-19 3:14:8 GMT"));
|
Util::httpGMT("Tue, 2038-01-19 3:14:8 GMT"));
|
||||||
} else if(sizeof(time_t) == 8) {
|
} else if(sizeof(time_t) == 8) {
|
||||||
CPPUNIT_ASSERT_EQUAL((int64_t)2147483648,
|
CPPUNIT_ASSERT_EQUAL((int64_t)2147483648LL,
|
||||||
(int64_t)Util::httpGMT("Tue, 2038-01-19 3:14:8 GMT"));
|
(int64_t)Util::httpGMT("Tue, 2038-01-19 3:14:8 GMT"));
|
||||||
}
|
}
|
||||||
CPPUNIT_ASSERT_EQUAL((time_t)-1,
|
CPPUNIT_ASSERT_EQUAL((time_t)-1,
|
||||||
|
|
Loading…
Reference in New Issue