From 592e82770bf9cab2bc1edee1b89fa4252cfba63f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 24 Jun 2025 10:26:19 -0400 Subject: building: pass 1L into curl_easy_setopt(CURLOPT_NOSIGNAL) should make curl 8.14.1 happy Internally the value is read from the stack using va_arg(long) see #2319 libreswan-5.2 doesn't compile with curl 8.14.1 --- programs/pluto/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/pluto/fetch.c b/programs/pluto/fetch.c index 7d07fb084b..7fb1c59e5b 100644 --- a/programs/pluto/fetch.c +++ b/programs/pluto/fetch.c @@ -117,7 +117,7 @@ static err_t fetch_curl(const char *url, chunk_t *blob, struct logger *logger) CESO(CURLOPT_ERRORBUFFER, errorbuffer); CESO(CURLOPT_CONNECTTIMEOUT, timeout); CESO(CURLOPT_TIMEOUT, 2 * timeout); - CESO(CURLOPT_NOSIGNAL, 1); /* work around for libcurl signal bug */ + CESO(CURLOPT_NOSIGNAL, 1L); /* work around for libcurl signal bug */ if (curl_iface != NULL) CESO(CURLOPT_INTERFACE, curl_iface); -- 2.47.3