From e191eab68d905bfe14e3590a92fa653f0ae2ebce Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Thu, 18 Feb 2010 09:15:27 +0000 Subject: non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility) --- src/networkPrefix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/networkPrefix.h') 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 void serialize(Archive& ar, const unsigned int version) { -- cgit v1.2.3