Re: [libvirt PATCH] esx: pass 'long' to curl_easy_setopt when needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 02, 2025 at 14:34:04 +0200, Ján Tomko via Devel wrote:
> From: Ján Tomko <jtomko@xxxxxxxxxx>
> 
> The include header got its type checks fixed in curl 8.14:
> https://github.com/curl/curl/commit/79b4e56b3f30dc1ac28a81128a07d27338e5219e
> https://github.com/curl/curl/pull/17143
> 
> This causes a warning on rawhide with clang:
> ../src/esx/esx_vi.c:318:5: error: call to '_curl_easy_setopt_err_long'
> declared with 'warning' attribute: curl_easy_setopt expects a long
> argument [-Werror,-Wattribute-warning]
>   318 |     curl_easy_setopt(curl->handle, CURLOPT_NOSIGNAL, 1);
>       |     ^
> 
> Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
> ---
>  src/esx/esx_stream.c |  6 +++---
>  src/esx/esx_vi.c     | 24 ++++++++++++------------
>  2 files changed, 15 insertions(+), 15 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux