gfe-relnote: n/a(log only) 2nd try to fix enumeral and non-enumeral type in
conditional expression in quic_connection_close_frame.cc

PiperOrigin-RevId: 245272556
Change-Id: I0d644a9e17c0d028de821a8680c9e4798a6fbb03
diff --git a/quic/core/frames/quic_connection_close_frame.cc b/quic/core/frames/quic_connection_close_frame.cc
index ca066ab..3587ebd 100644
--- a/quic/core/frames/quic_connection_close_frame.cc
+++ b/quic/core/frames/quic_connection_close_frame.cc
@@ -50,7 +50,8 @@
      << ", error_code: "
      << ((connection_close_frame.close_type ==
           IETF_QUIC_TRANSPORT_CONNECTION_CLOSE)
-             ? connection_close_frame.transport_error_code
+             ? static_cast<uint16_t>(
+                   connection_close_frame.transport_error_code)
              : ((connection_close_frame.close_type ==
                  IETF_QUIC_APPLICATION_CONNECTION_CLOSE)
                     ? connection_close_frame.application_error_code