rustls: fix two warnings related to number types

Reported-by: Gisle Vanem
Follow-up to #12989
Closes #13017
This commit is contained in:
kpcyrd 2024-02-29 16:01:03 +01:00 committed by Daniel Stenberg
parent b1005d127f
commit ae7ad31be2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -292,7 +292,7 @@ cr_send(struct Curl_cfilter *cf, struct Curl_easy *data,
DEBUGASSERT(backend);
rconn = backend->conn;
CURL_TRC_CF(data, cf, "cf_send: %ld plain bytes", plainlen);
CURL_TRC_CF(data, cf, "cf_send: %zu plain bytes", plainlen);
io_ctx.cf = cf;
io_ctx.data = data;
@ -343,7 +343,7 @@ cr_send(struct Curl_cfilter *cf, struct Curl_easy *data,
/* A server certificate verify callback for rustls that always returns
RUSTLS_RESULT_OK, or in other words disable certificate verification. */
static enum rustls_result
static uint32_t
cr_verify_none(void *userdata UNUSED_PARAM,
const rustls_verify_server_cert_params *params UNUSED_PARAM)
{