CURLOPT_IPRESOLVE.md: re-add a long cast for man page

This commit is contained in:
Viktor Szakats 2025-07-28 10:07:38 +02:00
parent 6770ab7c14
commit 0644168470
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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);