Fix compile error with gcc ASAN enabled
This commit is contained in:
parent
bd9a19e23b
commit
8122bc5aef
|
@ -7634,7 +7634,7 @@ void test_nghttp2_session_keep_closed_stream(void) {
|
||||||
nghttp2_session_callbacks callbacks;
|
nghttp2_session_callbacks callbacks;
|
||||||
const size_t max_concurrent_streams = 5;
|
const size_t max_concurrent_streams = 5;
|
||||||
nghttp2_settings_entry iv = {NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
|
nghttp2_settings_entry iv = {NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
|
||||||
max_concurrent_streams};
|
(uint32_t)max_concurrent_streams};
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
memset(&callbacks, 0, sizeof(callbacks));
|
memset(&callbacks, 0, sizeof(callbacks));
|
||||||
|
@ -7709,7 +7709,7 @@ void test_nghttp2_session_keep_idle_stream(void) {
|
||||||
nghttp2_session_callbacks callbacks;
|
nghttp2_session_callbacks callbacks;
|
||||||
const size_t max_concurrent_streams = 1;
|
const size_t max_concurrent_streams = 1;
|
||||||
nghttp2_settings_entry iv = {NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
|
nghttp2_settings_entry iv = {NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS,
|
||||||
max_concurrent_streams};
|
(uint32_t)max_concurrent_streams};
|
||||||
int i;
|
int i;
|
||||||
int32_t stream_id;
|
int32_t stream_id;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue