https://bugs.gentoo.org/963528

From 1403faeb152e24ef74230891cc6bf1875292324f Mon Sep 17 00:00:00 2001
From: Daan De Meyer <daan.j.demeyer@gmail.com>
Date: Fri, 19 Sep 2025 11:29:36 +0200
Subject: [PATCH] tree-wide: Fix two curl warnings

---
 src/import/pull-job.c               | 2 +-
 src/journal-remote/journal-upload.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/import/pull-job.c b/src/import/pull-job.c
index a0b0ef54061b9..b457c39ed1800 100644
--- a/src/import/pull-job.c
+++ b/src/import/pull-job.c
@@ -759,7 +759,7 @@ int pull_job_begin(PullJob *j) {
         if (curl_easy_setopt(j->curl, CURLOPT_XFERINFODATA, j) != CURLE_OK)
                 return -EIO;
 
-        if (curl_easy_setopt(j->curl, CURLOPT_NOPROGRESS, 0) != CURLE_OK)
+        if (curl_easy_setopt(j->curl, CURLOPT_NOPROGRESS, 0L) != CURLE_OK)
                 return -EIO;
 
         r = curl_glue_add(j->glue, j->curl);
diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c
index d669d27274f6a..05f0dad038449 100644
--- a/src/journal-remote/journal-upload.c
+++ b/src/journal-remote/journal-upload.c
@@ -308,7 +308,7 @@ int start_upload(Uploader *u,
                 }
 
                 if (STRPTR_IN_SET(arg_trust, "-", "all"))
-                        easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0,
+                        easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L,
                                     LOG_ERR, return -EUCLEAN);
                 else if (arg_trust || startswith(u->url, "https://"))
                         easy_setopt(curl, CURLOPT_CAINFO, arg_trust ?: TRUST_FILE,
