mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-24 00:10:12 +00:00
Fix compile error with --enable-debug and --enable-werror
This commit is contained in:
parent
d804780c25
commit
1f72648b0e
@ -5348,7 +5348,8 @@ ssize_t nghttp2_session_mem_recv(nghttp2_session *session, const uint8_t *in,
|
|||||||
nghttp2_frame_trail_padlen(&iframe->frame, iframe->padlen);
|
nghttp2_frame_trail_padlen(&iframe->frame, iframe->padlen);
|
||||||
DEBUGF(fprintf(stderr, "recv: block final=%d\n",
|
DEBUGF(fprintf(stderr, "recv: block final=%d\n",
|
||||||
(iframe->frame.hd.flags & NGHTTP2_FLAG_END_HEADERS) &&
|
(iframe->frame.hd.flags & NGHTTP2_FLAG_END_HEADERS) &&
|
||||||
iframe->payloadleft - data_readlen == trail_padlen));
|
iframe->payloadleft - (size_t)data_readlen ==
|
||||||
|
trail_padlen));
|
||||||
|
|
||||||
rv = inflate_header_block(
|
rv = inflate_header_block(
|
||||||
session, &iframe->frame, &hd_proclen, (uint8_t *)in,
|
session, &iframe->frame, &hd_proclen, (uint8_t *)in,
|
||||||
|
Loading…
Reference in New Issue
Block a user