ngtcp2: fix the cb_acked_stream_data_offset proto

The 'datalen' value should be 64 bit, not size_t!

Reported-by: Dmitry Karpov
Bug: https://curl.se/mail/lib-2021-05/0019.html
Closes #7027
This commit is contained in:
Daniel Stenberg 2021-05-06 22:55:15 +02:00
parent 68027623e2
commit 5c53bd980b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -603,7 +603,7 @@ static int cb_recv_stream_data(ngtcp2_conn *tconn, uint32_t flags,
static int
cb_acked_stream_data_offset(ngtcp2_conn *tconn, int64_t stream_id,
uint64_t offset, size_t datalen, void *user_data,
uint64_t offset, uint64_t datalen, void *user_data,
void *stream_user_data)
{
struct quicsocket *qs = (struct quicsocket *)user_data;