summaryrefslogtreecommitdiff
path: root/src/PeerReceiveHandshakeCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PeerReceiveHandshakeCommand.cc')
-rw-r--r--src/PeerReceiveHandshakeCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PeerReceiveHandshakeCommand.cc b/src/PeerReceiveHandshakeCommand.cc
index e8ffa170..850fb589 100644
--- a/src/PeerReceiveHandshakeCommand.cc
+++ b/src/PeerReceiveHandshakeCommand.cc
@@ -127,9 +127,9 @@ bool PeerReceiveHandshakeCommand::executeInternal()
}
TransferStat tstat =
downloadContext->getOwnerRequestGroup()->calculateStat();
- const unsigned int maxDownloadLimit =
+ const int maxDownloadLimit =
downloadContext->getOwnerRequestGroup()->getMaxDownloadSpeedLimit();
- unsigned int thresholdSpeed =
+ int thresholdSpeed =
downloadContext->getOwnerRequestGroup()->
getOption()->getAsInt(PREF_BT_REQUEST_PEER_SPEED_LIMIT);
if(maxDownloadLimit > 0) {