Fix: error pointer target types incompatible in C++ [-Werror=c++-compat]
This commit is contained in:
parent
adc22ec80b
commit
27fa4d310a
|
@ -258,7 +258,7 @@ static int on_data_chunk_recv_callback(nghttp2_session *session _U_,
|
||||||
stream), if it is closed, we send GOAWAY and tear down the
|
stream), if it is closed, we send GOAWAY and tear down the
|
||||||
session */
|
session */
|
||||||
static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id,
|
static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id,
|
||||||
nghttp2_error_code error_code,
|
uint32_t error_code,
|
||||||
void *user_data) {
|
void *user_data) {
|
||||||
http2_session_data *session_data = (http2_session_data *)user_data;
|
http2_session_data *session_data = (http2_session_data *)user_data;
|
||||||
int rv;
|
int rv;
|
||||||
|
|
Loading…
Reference in New Issue