cleanup: cast option to curl_easy_setopt

Also found via LTO mismatch.
This commit is contained in:
Michael Vetter
2026-02-20 16:28:56 +01:00
parent 759e5830a6
commit 289fed262f

View File

@@ -456,7 +456,7 @@ release_get_latest(void)
curl_easy_setopt(handle, CURLOPT_URL, url);
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, _data_callback);
curl_easy_setopt(handle, CURLOPT_TIMEOUT, 2);
curl_easy_setopt(handle, CURLOPT_TIMEOUT, (long)2);
curl_easy_setopt(handle, CURLOPT_WRITEDATA, (void*)&output);
curl_easy_perform(handle);