diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
| commit | 032c7c28083e17bdcfd763b3cf81447b06a07978 (patch) | |
| tree | e5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/AnnounceList.h | |
| parent | ca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff) | |
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
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 59011c57..081d05bc 100644 --- a/src/AnnounceList.h +++ b/src/AnnounceList.h @@ -61,7 +61,7 @@ public: void reconfigure(const MetaEntry* announceListEntry); void reconfigure(const std::string& url); - int32_t countTier() const { + size_t countTier() const { return tiers.size(); } @@ -102,12 +102,12 @@ public: /** * Counts the number of tiers to which the "stopped" event can be sent. */ - int32_t countStoppedAllowedTier() const; + size_t countStoppedAllowedTier() const; /** * Counts the number of tiers to which the "completed" event can be sent. */ - int32_t countCompletedAllowedTier() const; + size_t countCompletedAllowedTier() const; /** * Moves current tier pointer to the tier to which the "stopped" event can |
