Przeglądaj źródła

Merged stable-0.11 branch changes r15 into the trunk.

Tatsuhiro Tsujikawa 18 lat temu
rodzic
commit
e26bbbb9ee
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 5 0
      ChangeLog
  2. 1 1
      test/HttpHeaderProcessorTest.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-09-14  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Fixed the compilation error on 64bit platform.
+	* test/HttpHeaderProcessorTest.cc
+
 2007-09-12  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	Merged Ross's patch that fixes compilation problem in MinGW

+ 1 - 1
test/HttpHeaderProcessorTest.cc

@@ -105,7 +105,7 @@ void HttpHeaderProcessorTest::testGetHttpStatusHeader()
   CPPUNIT_ASSERT_EQUAL(string("200"), status);
   CPPUNIT_ASSERT_EQUAL(string("Mon, 25 Jun 2007 16:04:59 GMT"), header->getFirst("Date"));
   CPPUNIT_ASSERT_EQUAL(string("Apache/2.2.3 (Debian)"), header->getFirst("Server"));
-  CPPUNIT_ASSERT_EQUAL(9187LL, header->getFirstAsLLInt("Content-Length"));
+  CPPUNIT_ASSERT_EQUAL((int64_t)9187LL, header->getFirstAsLLInt("Content-Length"));
   CPPUNIT_ASSERT_EQUAL(string("text/html; charset=UTF-8"), header->getFirst("Content-Type"));
 }