CURLINFO_CONDITION_UNMET.md drop long cast

This commit is contained in:
Viktor Szakats 2025-08-01 13:38:10 +02:00
parent fe3a2f86bf
commit e5f1bd4555
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -54,8 +54,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_TIMEVALUE, 1577833200L);
/* If-Modified-Since the above time stamp */
curl_easy_setopt(curl, CURLOPT_TIMECONDITION,
(long)CURL_TIMECOND_IFMODSINCE);
curl_easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE);
/* Perform the request */
res = curl_easy_perform(curl);