summaryrefslogtreecommitdiff
path: root/src/HttpResponse.cc
diff options
context:
space:
mode:
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);
}
}