From 10d4dd20235f72a4e62cd7a2c7f8ddb615ef3e8c Mon Sep 17 00:00:00 2001 From: Gabriel Arrobo Date: Mon, 14 Mar 2022 12:29:15 -0700 Subject: [PATCH] network: Remove unnecessary casts --- src/network/utils/queue-item.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/utils/queue-item.cc b/src/network/utils/queue-item.cc index 339c79d81..a8793952f 100644 --- a/src/network/utils/queue-item.cc +++ b/src/network/utils/queue-item.cc @@ -134,8 +134,8 @@ QueueDiscItem::Print (std::ostream& os) const { os << GetPacket () << " " << "Dst addr " << m_address << " " - << "proto " << (uint16_t) m_protocol << " " - << "txq " << (uint8_t) m_txq + << "proto " << m_protocol << " " + << "txq " << +m_txq ; }