From: Richard W.M. Jones Date: Mon, 13 Oct 2025 12:41:19 +0000 (+0100) Subject: block/curl.c: Fix CURLOPT_VERBOSE parameter type X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad97769e9dcf4dbdaae6d859176e5f37fd6a7c66;p=thirdparty%2Fqemu.git block/curl.c: Fix CURLOPT_VERBOSE parameter type 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. Reported-by: Kevin Wolf Signed-off-by: Richard W.M. Jones Message-ID: <20251013124127.604401-1-rjones@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- 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