mirror of
https://github.com/curl/curl.git
synced 2026-05-15 06:07:28 +03:00
curl_ngtcp2.c bump an int cast to ssize_t in printf
This commit is contained in:
parent
a0f358bd7f
commit
ee7aea0d5d
1 changed files with 2 additions and 2 deletions
|
|
@ -2244,8 +2244,8 @@ static CURLcode cf_ngtcp2_shutdown(struct Curl_cfilter *cf,
|
|||
(uint8_t *)buffer, sizeof(buffer),
|
||||
&ctx->last_error, pktx.ts);
|
||||
CURL_TRC_CF(data, cf, "start shutdown(err_type=%d, err_code=%"
|
||||
PRIu64 ") -> %d", ctx->last_error.type,
|
||||
ctx->last_error.error_code, (int)nwritten);
|
||||
PRIu64 ") -> %zd", ctx->last_error.type,
|
||||
ctx->last_error.error_code, (ssize_t)nwritten);
|
||||
/* there are cases listed in ngtcp2 documentation where this call
|
||||
* may fail. Since we are doing a connection shutdown as graceful
|
||||
* as we can, such an error is ignored here. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue