You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/contrib/elf2dmp
Richard W.M. Jones ed26056d90 block/curl.c: Use explicit long constants in curl_easy_setopt calls
curl_easy_setopt takes a variable argument that depends on what
CURLOPT you are setting.  Some require a long constant.  Passing a
plain int constant is potentially wrong on some platforms.

With warnings enabled, multiple warnings like this were printed:

../block/curl.c: In function ‘curl_init_state’:
../block/curl.c:474:13: warning: call to ‘_curl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning]
  474 |             curl_easy_setopt(state->curl, CURLOPT_AUTOREFERER, 1) ||
      |             ^

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Chenxi Mao <maochenxi@bosc.ac.cn>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251009141026.4042021-2-rjones@redhat.com>
2 weeks ago
..
addrspace.c contrib/elf2dmp: Ensure segment fits in file 2 years ago
addrspace.h contrib/elf2dmp: Fix error reporting style in addrspace.c 2 years ago
download.c block/curl.c: Use explicit long constants in curl_easy_setopt calls 2 weeks ago
download.h contrib/elf2dmp: Fix error reporting style in download.c 2 years ago
err.h
kdbg.h contrib/elf2dmp: fix structures definitions 7 years ago
main.c contrib/elf2dmp: Use rol64() to decode 2 years ago
meson.build meson: build contrib/ executables after generated headers 4 years ago
pdb.c contrib: replace FSF postal address with licenses URL 4 months ago
pdb.h contrib/elf2dmp: Fix error reporting style in pdb.c 2 years ago
pe.h contrib/elf2dmp: add PE name check and Windows Server 2022 support 3 years ago
qemu_elf.c contrib/elf2dmp: Ensure phdrs fit in file 2 years ago
qemu_elf.h contrib/elf2dmp: Fix error reporting style in qemu_elf.c 2 years ago