We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759e583 commit 289fed2Copy full SHA for 289fed2
src/common.c
@@ -456,7 +456,7 @@ release_get_latest(void)
456
457
curl_easy_setopt(handle, CURLOPT_URL, url);
458
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, _data_callback);
459
- curl_easy_setopt(handle, CURLOPT_TIMEOUT, 2);
+ curl_easy_setopt(handle, CURLOPT_TIMEOUT, (long)2);
460
curl_easy_setopt(handle, CURLOPT_WRITEDATA, (void*)&output);
461
462
curl_easy_perform(handle);
0 commit comments