docs: make sure libcurl opts examples pass in long arguments

Reported-by: Sergey
Fixes #9779
Closes #9780
This commit is contained in:
Daniel Stenberg 2022-10-22 00:06:35 +02:00
parent c2e9376a89
commit 873cc38e89
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
16 changed files with 19 additions and 16 deletions

View file

@ -51,7 +51,7 @@ if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
/* delegate if okayed by policy */
curl_easy_setopt(curl, CURLOPT_GSSAPI_DELEGATION,
CURLGSSAPI_DELEGATION_POLICY_FLAG);
(long)CURLGSSAPI_DELEGATION_POLICY_FLAG);
ret = curl_easy_perform(curl);
}
.fi