mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 10:55:00 +00:00
Replaced uint64_t with off_t or int64_t.
Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t.
This commit is contained in:
@@ -117,8 +117,8 @@ void HttpHeaderProcessorTest::testGetHttpResponseHeader()
|
||||
header->find("date"));
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("Apache/2.2.3 (Debian)"),
|
||||
header->find("server"));
|
||||
CPPUNIT_ASSERT_EQUAL((uint64_t)9187ULL,
|
||||
header->findAsULLInt("content-length"));
|
||||
CPPUNIT_ASSERT_EQUAL((int64_t)9187LL,
|
||||
header->findAsLLInt("content-length"));
|
||||
CPPUNIT_ASSERT_EQUAL(std::string("text/html; charset=UTF-8"),
|
||||
header->find("content-type"));
|
||||
CPPUNIT_ASSERT(!header->defined("entity"));
|
||||
|
||||
Reference in New Issue
Block a user