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.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/networkPrefix.cpp') diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp index a6a2ef4..85b687d 100644 --- a/src/networkPrefix.cpp +++ b/src/networkPrefix.cpp @@ -40,7 +40,7 @@ NetworkPrefix::NetworkPrefix(): NetworkAddress(),length_(0) { } -NetworkPrefix::NetworkPrefix(const NetworkAddress& src,u_int8_t length): NetworkAddress(src),length_(length) +NetworkPrefix::NetworkPrefix(const NetworkAddress& src,uint8_t length): NetworkAddress(src),length_(length) { } @@ -48,12 +48,12 @@ NetworkPrefix::NetworkPrefix(const NetworkPrefix& src): NetworkAddress(src),leng { } -void NetworkPrefix::setNetworkPrefixLength(u_int8_t length) +void NetworkPrefix::setNetworkPrefixLength(uint8_t length) { length_ = length; } -u_int8_t NetworkPrefix::getNetworkPrefixLength() const +uint8_t NetworkPrefix::getNetworkPrefixLength() const { return length_; } -- cgit v1.2.3