ngtcp2: fix incompatible function pointer types

Closes #9056
This commit is contained in:
vvb2060 2022-06-28 03:50:33 +08:00 committed by Daniel Stenberg
parent 5a1a892565
commit e631f6e10e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -113,7 +113,7 @@ static CURLcode ng_process_ingress(struct Curl_easy *data,
static CURLcode ng_flush_egress(struct Curl_easy *data, int sockfd,
struct quicsocket *qs);
static int cb_h3_acked_stream_data(nghttp3_conn *conn, int64_t stream_id,
size_t datalen, void *user_data,
uint64_t datalen, void *user_data,
void *stream_user_data);
static ngtcp2_conn *get_conn(ngtcp2_crypto_conn_ref *conn_ref)
@ -1237,7 +1237,7 @@ static ssize_t ngh3_stream_recv(struct Curl_easy *data,
/* this amount of data has now been acked on this stream */
static int cb_h3_acked_stream_data(nghttp3_conn *conn, int64_t stream_id,
size_t datalen, void *user_data,
uint64_t datalen, void *user_data,
void *stream_user_data)
{
struct Curl_easy *data = stream_user_data;