diff options
Diffstat (limited to 'src/networkPrefix.h')
-rw-r--r-- | src/networkPrefix.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/networkPrefix.h b/src/networkPrefix.h index 43adb8c..2c328a7 100644 --- a/src/networkPrefix.h +++ b/src/networkPrefix.h @@ -44,16 +44,16 @@ class NetworkPrefix : public NetworkAddress { public: NetworkPrefix(); - NetworkPrefix(const NetworkAddress&, u_int8_t length); + NetworkPrefix(const NetworkAddress&, uint8_t length); NetworkPrefix(const NetworkPrefix&); - void setNetworkPrefixLength(u_int8_t length); - u_int8_t getNetworkPrefixLength() const; + void setNetworkPrefixLength(uint8_t length); + uint8_t getNetworkPrefixLength() const; bool operator<(const NetworkPrefix& s) const; private: operator NetworkAddress(); void operator=(const NetworkPrefix& s); - u_int8_t length_; + uint8_t length_; friend class boost::serialization::access; template<class Archive> void serialize(Archive& ar, const unsigned int version) { |