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/FeatureConfig.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/FeatureConfig.h')
| -rw-r--r-- | src/FeatureConfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FeatureConfig.h b/src/FeatureConfig.h index 3d10433a..2531158a 100644 --- a/src/FeatureConfig.h +++ b/src/FeatureConfig.h @@ -42,7 +42,7 @@ namespace aria2 { -typedef std::map<std::string, int32_t> PortMap; +typedef std::map<std::string, uint16_t> PortMap; typedef std::map<std::string, bool> FeatureMap; class FeatureConfig { @@ -68,7 +68,7 @@ public: featureConfig = 0; } - int32_t getDefaultPort(const std::string& protocol) const { + uint16_t getDefaultPort(const std::string& protocol) const { PortMap::const_iterator itr = defaultPorts.find(protocol); if(itr == defaultPorts.end()) { return 0; |
