From 0d7a859a20c3fd1095ae998d23f1c73f71e1a207 Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Fri, 20 Jun 2025 14:58:30 +0200 Subject: [PATCH] fix: curl parameter type correction --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);