summaryrefslogtreecommitdiff
path: root/src/HttpResponse.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 23:35:24 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 23:35:24 +0900
commit1b874268a067b4aba0e329768b82df635d7cae17 (patch)
treef72263f15286a6c3372d87571c261789ff8c87f7 /src/HttpResponse.cc
parent4b03634f36b05c32737aeea8ca178f53f68052e8 (diff)
Use int64_t instead of off_t
Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged.
Diffstat (limited to 'src/HttpResponse.cc')
-rw-r--r--src/HttpResponse.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponse.cc b/src/HttpResponse.cc
index fb726c4d..9898e183 100644
--- a/src/HttpResponse.cc
+++ b/src/HttpResponse.cc
@@ -227,7 +227,7 @@ SharedHandle<StreamFilter> HttpResponse::getContentEncodingStreamFilter() const
return filter;
}
-off_t HttpResponse::getContentLength() const
+int64_t HttpResponse::getContentLength() const
{
if(!httpHeader_) {
return 0;
@@ -236,7 +236,7 @@ off_t HttpResponse::getContentLength() const
}
}
-off_t HttpResponse::getEntityLength() const
+int64_t HttpResponse::getEntityLength() const
{
if(!httpHeader_) {
return 0;