From 523ed3a633c47c5c5ebab9cc6988800955956882 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 1 Jul 2025 15:23:07 +0200 Subject: [PATCH] drop cast for CURLUSESSL_ALL docs, for consistency --- docs/libcurl/opts/CURLOPT_USE_SSL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/CURLOPT_USE_SSL.md b/docs/libcurl/opts/CURLOPT_USE_SSL.md index adc32bb853..3767c12fec 100644 --- a/docs/libcurl/opts/CURLOPT_USE_SSL.md +++ b/docs/libcurl/opts/CURLOPT_USE_SSL.md @@ -71,7 +71,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/dir/file.ext"); /* require use of SSL for this, or fail */ - curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); + curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL); /* Perform the request */ curl_easy_perform(curl);