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

@ -1428,7 +1428,7 @@ static void win_update_sndbuf_size(struct cf_socket_ctx *ctx)
#endif /* USE_WINSOCK */
static CURLcode cf_socket_send(struct Curl_cfilter *cf, struct Curl_easy *data,
const void *buf, size_t len, bool eos,
const uint8_t *buf, size_t len, bool eos,
size_t *pnwritten)
{
struct cf_socket_ctx *ctx = cf->ctx;