summaryrefslogtreecommitdiff
path: root/src/HttpResponse.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 23:44:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 23:44:52 +0900
commit16d395779a1cc56f559dd3132d4fd30dfd7d9cc6 (patch)
treeb0554f0b09a9c0716319a82d8af0b83a7e6ec1c0 /src/HttpResponse.cc
parent1b874268a067b4aba0e329768b82df635d7cae17 (diff)
Removed static_cast<int64>()s where they are unnecessary
Diffstat (limited to 'src/HttpResponse.cc')
-rw-r--r--src/HttpResponse.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/HttpResponse.cc b/src/HttpResponse.cc
index 9898e183..61dd5264 100644
--- a/src/HttpResponse.cc
+++ b/src/HttpResponse.cc
@@ -100,12 +100,12 @@ void HttpResponse::validateResponse() const
if(!httpRequest_->isRangeSatisfied(responseRange)) {
throw DL_ABORT_EX2
(fmt(EX_INVALID_RANGE_HEADER,
- static_cast<int64_t>(httpRequest_->getStartByte()),
- static_cast<int64_t>(httpRequest_->getEndByte()),
- static_cast<int64_t>(httpRequest_->getEntityLength()),
- static_cast<int64_t>(responseRange->getStartByte()),
- static_cast<int64_t>(responseRange->getEndByte()),
- static_cast<int64_t>(responseRange->getEntityLength())),
+ httpRequest_->getStartByte(),
+ httpRequest_->getEndByte(),
+ httpRequest_->getEntityLength(),
+ responseRange->getStartByte(),
+ responseRange->getEndByte(),
+ responseRange->getEntityLength()),
error_code::CANNOT_RESUME);
}
}