]> git.ipfire.org Git - thirdparty/curl.git/commit
build: fix `-Wconversion`/`-Wsign-conversion` warnings 12571/head 12574/head
authorViktor Szakats <commit@vsz.me>
Tue, 19 Dec 2023 19:16:03 +0000 (19:16 +0000)
committerViktor Szakats <commit@vsz.me>
Wed, 20 Dec 2023 15:38:45 +0000 (15:38 +0000)
commit95a882d26844745f1776fb6c7522b3df57dc9821
tree2863202c795f7ef45228dc2d4f9544fcce2bb5d0
parent2dbe75bd7f3c36837aa06fd87a442bdf3fb7faef
build: fix `-Wconversion`/`-Wsign-conversion` warnings

Fix remaining warnings in examples and tests which are not suppressed
by the pragma in `lib/curl_setup.h`.

Silence a toolchain issue causing warnings in `FD_SET()` calls with
older Cygwin/MSYS2 builds. Likely fixed on 2020-08-03 by:
https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=5717262b8ecfed0f7fab63e2c09c78991e36f9dd

Follow-up to 2dbe75bd7f3c36837aa06fd87a442bdf3fb7faef #12492

Closes #12557
docs/examples/10-at-a-time.c
docs/examples/anyauthput.c
docs/examples/ftpget.c
docs/examples/ftpsget.c
docs/examples/http2-download.c
docs/examples/sendrecv.c
docs/examples/sftpget.c
tests/http/clients/h2-download.c
tests/server/mqttd.c
tests/server/socksd.c