diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 23:44:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 23:44:52 +0900 |
| commit | 16d395779a1cc56f559dd3132d4fd30dfd7d9cc6 (patch) | |
| tree | b0554f0b09a9c0716319a82d8af0b83a7e6ec1c0 /src/HttpResponse.cc | |
| parent | 1b874268a067b4aba0e329768b82df635d7cae17 (diff) | |
Removed static_cast<int64>()s where they are unnecessary
Diffstat (limited to 'src/HttpResponse.cc')
| -rw-r--r-- | src/HttpResponse.cc | 12 |
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); } } |
