You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/04/01 08:21:17 UTC
[trafficserver] branch quic-latest updated: QUIC: Fix compiler
warning
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new bb333b9 QUIC: Fix compiler warning
bb333b9 is described below
commit bb333b9379f8579f918bf940542b8e290615b34b
Author: scw00 <sc...@apache.org>
AuthorDate: Sat Mar 31 08:32:52 2018 +0800
QUIC: Fix compiler warning
---
iocore/net/QUICNetVConnection.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 0502b38..96c1e06 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -774,7 +774,7 @@ QUICNetVConnection::_state_handshake_process_packet(QUICPacketUPtr packet)
break;
case QUICPacketType::PROTECTED:
default:
- QUICConDebug("Ignore %s(%" PRIu8 ") packet", QUICDebugNames::packet_type(packet->type()), packet->type());
+ QUICConDebug("Ignore %s(%" PRIu8 ") packet", QUICDebugNames::packet_type(packet->type()), static_cast<uint8_t>(packet->type()));
error = QUICErrorUPtr(new QUICConnectionError(QUICTransErrorCode::INTERNAL_ERROR));
break;
@@ -878,7 +878,7 @@ QUICNetVConnection::_state_common_receive_packet()
error = this->_recv_and_ack(std::move(p));
break;
default:
- QUICConDebug("Unknown packet type: %s(%" PRIu8 ")", QUICDebugNames::packet_type(p->type()), p->type());
+ QUICConDebug("Unknown packet type: %s(%" PRIu8 ")", QUICDebugNames::packet_type(p->type()), static_cast<uint8_t>(p->type()));
error = QUICErrorUPtr(new QUICConnectionError(QUICTransErrorCode::INTERNAL_ERROR));
break;
--
To stop receiving notification emails like this one, please contact
masaori@apache.org.