diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-07 22:57:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-09 21:39:43 +0900 |
| commit | 12988e5282ef52a2806cbaca9f4074698f35e399 (patch) | |
| tree | 7a8d5a65a8e8478ba5855e84a1077baee1a2028d /test/HttpHeaderProcessorTest.cc | |
| parent | f25e67b0178511b26d55642f215a095321a169a8 (diff) | |
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.
Diffstat (limited to 'test/HttpHeaderProcessorTest.cc')
| -rw-r--r-- | test/HttpHeaderProcessorTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/HttpHeaderProcessorTest.cc b/test/HttpHeaderProcessorTest.cc index 162f59aa..ad41b955 100644 --- a/test/HttpHeaderProcessorTest.cc +++ b/test/HttpHeaderProcessorTest.cc @@ -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")); |
