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/AnnounceList.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/AnnounceList.h')
| -rw-r--r-- | src/AnnounceList.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AnnounceList.h b/src/AnnounceList.h index fdd19a49..c0123d67 100644 --- a/src/AnnounceList.h +++ b/src/AnnounceList.h @@ -57,7 +57,7 @@ public: void reconfigure(const MetaEntry* announceListEntry); void reconfigure(const string& url); - int countTier() const { + int32_t countTier() const { return tiers.size(); } @@ -98,12 +98,12 @@ public: /** * Counts the number of tiers to which the "stopped" event can be sent. */ - int countStoppedAllowedTier() const; + int32_t countStoppedAllowedTier() const; /** * Counts the number of tiers to which the "completed" event can be sent. */ - int countCompletedAllowedTier() const; + int32_t countCompletedAllowedTier() const; /** * Moves current tier pointer to the tier to which the "stopped" event can |
