cfilter: send uint8_t bytes

Change the send parameter from `const void *` to `const uint8_t *` and
adapt calling code. Several had already unsigned chars and were casting.

Closes #19729
This commit is contained in:
Stefan Eissing 2025-11-27 15:13:11 +01:00 committed by Daniel Stenberg
parent 1e048e932a
commit 56e88e7c14
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
18 changed files with 53 additions and 54 deletions

View file

@ -133,7 +133,7 @@ static CURLcode cf_haproxy_connect(struct Curl_cfilter *cf,
if(len > 0) {
size_t nwritten;
result = Curl_conn_cf_send(cf->next, data,
curlx_dyn_ptr(&ctx->data_out), len, FALSE,
curlx_dyn_uptr(&ctx->data_out), len, FALSE,
&nwritten);
if(result) {
if(result != CURLE_AGAIN)