From 6574e44f886740273676b6d73ef754385a36197f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 21 Jul 2007 08:56:16 +0000 Subject: 2007-07-21 Tatsuhiro Tsujikawa Converted int's to in32_t. long long int's are also converted to int64_t --- src/PeerInteractionCommand.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/PeerInteractionCommand.cc') diff --git a/src/PeerInteractionCommand.cc b/src/PeerInteractionCommand.cc index 9ed21cf7..522b02ab 100644 --- a/src/PeerInteractionCommand.cc +++ b/src/PeerInteractionCommand.cc @@ -49,12 +49,12 @@ #include "CUIDCounter.h" #include -PeerInteractionCommand::PeerInteractionCommand(int cuid, +PeerInteractionCommand::PeerInteractionCommand(int32_t cuid, const PeerHandle& p, TorrentDownloadEngine* e, const BtContextHandle& btContext, const SocketHandle& s, - int sequence) + Seq sequence) :PeerAbstractCommand(cuid, p, e, btContext, s), sequence(sequence), btInteractive(0), @@ -199,7 +199,7 @@ bool PeerInteractionCommand::executeInternal() { } // TODO this method removed when PeerBalancerCommand is implemented -bool PeerInteractionCommand::prepareForNextPeer(int wait) { +bool PeerInteractionCommand::prepareForNextPeer(int32_t wait) { if(peerStorage->isPeerAvailable() && btRuntime->lessThanEqMinPeer()) { PeerHandle peer = peerStorage->getUnusedPeer(); peer->cuid = CUIDCounterSingletonHolder::instance()->newID(); @@ -213,7 +213,7 @@ bool PeerInteractionCommand::prepareForNextPeer(int wait) { return true; } -bool PeerInteractionCommand::prepareForRetry(int wait) { +bool PeerInteractionCommand::prepareForRetry(int32_t wait) { e->commands.push_back(this); return false; } -- cgit