summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-08 00:03:25 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 21:39:43 +0900
commit9d15d732edd512a3ff03147da459feaddde511fe (patch)
tree4206d8328e73cdf57e88830fb6b5f64c18f39f73 /src/AbstractCommand.cc
parent12988e5282ef52a2806cbaca9f4074698f35e399 (diff)
Use int32_t for piece length instead of size_t
Diffstat (limited to 'src/AbstractCommand.cc')
-rw-r--r--src/AbstractCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc
index 53b73c3d..118846f1 100644
--- a/src/AbstractCommand.cc
+++ b/src/AbstractCommand.cc
@@ -882,7 +882,7 @@ void AbstractCommand::createSocket()
socket_.reset(new SocketCore());
}
-size_t AbstractCommand::calculateMinSplitSize() const
+int32_t AbstractCommand::calculateMinSplitSize() const
{
if(req_ && req_->isPipeliningEnabled()) {
return getDownloadContext()->getPieceLength();