diff --git a/src/common.c b/src/common.c index 349b7b7c..07e4c97b 100644 --- a/src/common.c +++ b/src/common.c @@ -387,7 +387,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, 2L); curl_easy_setopt(handle, CURLOPT_WRITEDATA, (void*)&output); curl_easy_perform(handle);