]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
h2h3: fix compiler warning due to function prototype mismatch
authorJay Satiro <raysatiro@yahoo.com>
Mon, 14 Feb 2022 21:45:14 +0000 (16:45 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 14 Feb 2022 21:45:14 +0000 (16:45 -0500)
- Add missing const qualifier in Curl_pseudo_headers declaration.

lib/h2h3.h

index ec687663b7ef80047d8dc1ec30fb6d5099239011..22256841c6ccff20ec114ca949057b63aea43fa9 100644 (file)
@@ -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);
 
 /*