summaryrefslogtreecommitdiff
path: root/src/FeatureConfig.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
commit6574e44f886740273676b6d73ef754385a36197f (patch)
treec13b2c6f1bb178bc5adae67f47549ea6a86d7ec4 /src/FeatureConfig.h
parentcd6b6e359135f88afffbaa31c126489aa9813571 (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/FeatureConfig.h')
-rw-r--r--src/FeatureConfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FeatureConfig.h b/src/FeatureConfig.h
index ee1ef5c4..788912b3 100644
--- a/src/FeatureConfig.h
+++ b/src/FeatureConfig.h
@@ -38,7 +38,7 @@
#include "common.h"
#include <map>
-typedef map<string, int> PortMap;
+typedef map<string, int32_t> PortMap;
typedef map<string, bool> FeatureMap;
class FeatureConfig {
@@ -64,7 +64,7 @@ public:
featureConfig = 0;
}
- int getDefaultPort(const string& protocol) const {
+ int32_t getDefaultPort(const string& protocol) const {
PortMap::const_iterator itr = defaultPorts.find(protocol);
if(itr == defaultPorts.end()) {
return 0;