mirror of
https://github.com/curl/curl.git
synced 2026-07-30 15:28:45 +03:00
openssl-quic: fix printf mask
Fixes:
```
lib/vquic/curl_osslq.c:835:25: error: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'curl_off_t' {aka 'long long int'} [-Werror=format=]
835 | CURL_TRC_CF(data, cf, "[%" FMT_PRId64 "] DATA len=%zu, total=%zd",
| ^~~~
836 | stream->s.id, buflen, stream->download_recvd);
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| curl_off_t {aka long long int}
```
Closes #17106
This commit is contained in:
parent
b12b812196
commit
929c9a7ef7
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ static int cb_h3_recv_data(nghttp3_conn *conn, int64_t stream3_id,
|
|||
return NGHTTP3_ERR_CALLBACK_FAILURE;
|
||||
}
|
||||
stream->download_recvd += (curl_off_t)buflen;
|
||||
CURL_TRC_CF(data, cf, "[%" FMT_PRId64 "] DATA len=%zu, total=%zd",
|
||||
CURL_TRC_CF(data, cf, "[%" FMT_PRId64 "] DATA len=%zu, total=%" FMT_OFF_T,
|
||||
stream->s.id, buflen, stream->download_recvd);
|
||||
h3_drain_stream(cf, data);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue