From ea673376840c0b9ee6dc527719236b6ade66142c Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 14 Feb 2022 16:45:14 -0500 Subject: [PATCH] h2h3: fix compiler warning due to function prototype mismatch - Add missing const qualifier in Curl_pseudo_headers declaration. --- lib/h2h3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/h2h3.h b/lib/h2h3.h index ec687663b7..22256841c6 100644 --- a/lib/h2h3.h +++ b/lib/h2h3.h @@ -48,7 +48,7 @@ struct h2h3req { */ CURLcode Curl_pseudo_headers(struct Curl_easy *data, const char *request, - size_t len, + const size_t len, struct h2h3req **hp); /* -- 2.47.3