From 289fed262fef5e1282ff7e7cb8cdcc4165819285 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 20 Feb 2026 16:28:56 +0100 Subject: [PATCH] cleanup: cast option to curl_easy_setopt Also found via LTO mismatch. --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index 602013c5..d5acb211 100644 --- a/src/common.c +++ b/src/common.c @@ -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);