diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-21 08:56:16 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-21 08:56:16 +0000 |
| commit | 6574e44f886740273676b6d73ef754385a36197f (patch) | |
| tree | c13b2c6f1bb178bc5adae67f47549ea6a86d7ec4 /src/PeerChokeCommand.h | |
| parent | cd6b6e359135f88afffbaa31c126489aa9813571 (diff) | |
2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Converted int's to in32_t. long long int's are also converted to
int64_t
Diffstat (limited to 'src/PeerChokeCommand.h')
| -rw-r--r-- | src/PeerChokeCommand.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PeerChokeCommand.h b/src/PeerChokeCommand.h index 6b03ccac..687f405c 100644 --- a/src/PeerChokeCommand.h +++ b/src/PeerChokeCommand.h @@ -41,9 +41,9 @@ class PeerChokeCommand : public BtContextAwareCommand { private: - int interval; + int32_t interval; TorrentDownloadEngine* e; - int rotate; + int32_t rotate; Time checkPoint; void orderByUploadRate(Peers& peers) const; @@ -51,10 +51,10 @@ private: void optUnchokingPeer(Peers& peers) const; public: - PeerChokeCommand(int cuid, + PeerChokeCommand(int32_t cuid, TorrentDownloadEngine* e, const BtContextHandle& btContext, - int interval); + int32_t interval); virtual ~PeerChokeCommand(); |
