From 06441684709b3dcdfd4f67738371b5f6a5eadb82 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 28 Jul 2025 10:07:38 +0200 Subject: [PATCH] CURLOPT_IPRESOLVE.md: re-add a long cast for man page --- docs/libcurl/opts/CURLOPT_IPRESOLVE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_IPRESOLVE.md b/docs/libcurl/opts/CURLOPT_IPRESOLVE.md index 1b761c961b..1b13e3641d 100644 --- a/docs/libcurl/opts/CURLOPT_IPRESOLVE.md +++ b/docs/libcurl/opts/CURLOPT_IPRESOLVE.md @@ -66,7 +66,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/foo.bin"); /* of all addresses example.com resolves to, only IPv6 ones are used */ - curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6); + curl_easy_setopt(curl, CURLOPT_IPRESOLVE, (long)CURL_IPRESOLVE_V6); res = curl_easy_perform(curl);