diff -r 79979375c165 src/devices/wimax/burst-profile-manager.cc --- a/src/devices/wimax/burst-profile-manager.cc Wed Jul 08 17:36:04 2009 +0200 +++ b/src/devices/wimax/burst-profile-manager.cc Wed Jul 08 18:17:37 2009 +0200 @@ -117,7 +117,7 @@ //burst profile got to be there in DCD/UCD, assuming always all profiles are defined in DCD/UCD NS_ASSERT(false); - return -1; + return ~0; } uint8_t diff -r 79979375c165 src/devices/wimax/mac-messages.cc --- a/src/devices/wimax/mac-messages.cc Wed Jul 08 17:36:04 2009 +0200 +++ b/src/devices/wimax/mac-messages.cc Wed Jul 08 18:17:37 2009 +0200 @@ -29,7 +29,7 @@ NS_OBJECT_ENSURE_REGISTERED ( ManagementMessageType); ManagementMessageType::ManagementMessageType(void) : - m_type(-1) + m_type(~0) { } diff -r 79979375c165 src/devices/wimax/packet-classifier.cc --- a/src/devices/wimax/packet-classifier.cc Wed Jul 08 17:36:04 2009 +0200 +++ b/src/devices/wimax/packet-classifier.cc Wed Jul 08 18:17:37 2009 +0200 @@ -38,7 +38,7 @@ } PacketClassifier::PacketClassifier(void) : - m_priority(-1) + m_priority(~0) { } diff -r 79979375c165 src/devices/wimax/wimax-net-device.cc --- a/src/devices/wimax/wimax-net-device.cc Wed Jul 08 17:36:04 2009 +0200 +++ b/src/devices/wimax/wimax-net-device.cc Wed Jul 08 18:17:37 2009 +0200 @@ -46,7 +46,7 @@ NS_OBJECT_ENSURE_REGISTERED ( WimaxNetDevice); uint32_t WimaxNetDevice::m_nrFrames = 0; - uint8_t WimaxNetDevice::m_direction = -1; + uint8_t WimaxNetDevice::m_direction = ~0; Time WimaxNetDevice::m_frameStartTime = Seconds(0); TypeId