mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:38:02 +03:00
rustls: drop two wrong leftover casts to ssize_t
While both source and target types are already `size_t`.
Spotted by GitHub Code Quality
Follow-up to b7c676d13f #17593
Closes #21625
This commit is contained in:
parent
4780e509aa
commit
de28c9cfad
1 changed files with 2 additions and 2 deletions
|
|
@ -337,7 +337,7 @@ static CURLcode cr_send(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
}
|
||||
else
|
||||
blen = 0;
|
||||
*pnwritten += (ssize_t)backend->plain_out_buffered;
|
||||
*pnwritten += backend->plain_out_buffered;
|
||||
backend->plain_out_buffered = 0;
|
||||
}
|
||||
|
||||
|
|
@ -370,7 +370,7 @@ static CURLcode cr_send(struct Curl_cfilter *cf, struct Curl_easy *data,
|
|||
goto out;
|
||||
}
|
||||
else
|
||||
*pnwritten += (ssize_t)plainwritten;
|
||||
*pnwritten += plainwritten;
|
||||
|
||||
out:
|
||||
CURL_TRC_CF(data, cf, "rustls_send(len=%zu) -> %d, %zu",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue