summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.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/HttpSkipResponseCommand.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/HttpSkipResponseCommand.cc')
-rw-r--r--src/HttpSkipResponseCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc
index 97ed1419..131df34d 100644
--- a/src/HttpSkipResponseCommand.cc
+++ b/src/HttpSkipResponseCommand.cc
@@ -124,7 +124,7 @@ bool HttpSkipResponseCommand::executeInternal()
if(totalLength_ > 0) {
bufSize = std::min
(totalLength_-receivedBytes_,
- static_cast<off_t>(getSocketRecvBuffer()->getBufferLength()));
+ static_cast<int64_t>(getSocketRecvBuffer()->getBufferLength()));
} else {
bufSize = getSocketRecvBuffer()->getBufferLength();
}