Commit 1bbcbd36 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

shrpx: Cast uint8_t to uint32_t to print its decimal number

parent fec566aa
...@@ -274,7 +274,7 @@ void on_frame_not_send_callback(nghttp2_session *session, ...@@ -274,7 +274,7 @@ void on_frame_not_send_callback(nghttp2_session *session,
{ {
auto upstream = reinterpret_cast<Http2Upstream*>(user_data); auto upstream = reinterpret_cast<Http2Upstream*>(user_data);
ULOG(WARNING, upstream) << "Failed to send control frame type=" ULOG(WARNING, upstream) << "Failed to send control frame type="
<< frame->hd.type << static_cast<uint32_t>(frame->hd.type)
<< ", lib_error_code=" << lib_error_code << ":" << ", lib_error_code=" << lib_error_code << ":"
<< nghttp2_strerror(lib_error_code); << nghttp2_strerror(lib_error_code);
if(frame->hd.type == NGHTTP2_HEADERS && if(frame->hd.type == NGHTTP2_HEADERS &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment