qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/curl.c: Fix CURLOPT_VERBOSE parameter type
@ 2025-10-13 12:41 Richard W.M. Jones
  2025-10-13 15:18 ` Kevin Wolf
  0 siblings, 1 reply; 2+ messages in thread
From: Richard W.M. Jones @ 2025-10-13 12:41 UTC (permalink / raw)
  To: kwolf; +Cc: hreitz, qemu-block, qemu-devel, richard.henderson

In commit ed26056d90 ("block/curl.c: Use explicit long constants in
curl_easy_setopt calls") we missed a further call that takes a long
parameter.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Thanks: Kevin Wolf
---
 block/curl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/curl.c b/block/curl.c
index 68cf83ce55..d7d93d967f 100644
--- a/block/curl.c
+++ b/block/curl.c
@@ -524,7 +524,7 @@ static int curl_init_state(BDRVCURLState *s, CURLState *state)
 #endif
 
 #ifdef DEBUG_VERBOSE
-        if (curl_easy_setopt(state->curl, CURLOPT_VERBOSE, 1)) {
+        if (curl_easy_setopt(state->curl, CURLOPT_VERBOSE, 1L)) {
             goto err;
         }
 #endif
-- 
2.50.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-13 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 12:41 [PATCH] block/curl.c: Fix CURLOPT_VERBOSE parameter type Richard W.M. Jones
2025-10-13 15:18 ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).