aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open-bfd.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-06-06 13:59:56 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-06-07 13:46:38 +0100
commit595a4d439bc5976d5bdf61da6d44337b3995d967 (patch)
tree209d7dac14e1b2cecbcfd7de8581da1fc81a1d20 /libctf/ctf-open-bfd.c
parentf5e73be11b24b6c4b7ecec5f762784c4bb40ec18 (diff)
downloadgdb-595a4d439bc5976d5bdf61da6d44337b3995d967.zip
gdb-595a4d439bc5976d5bdf61da6d44337b3995d967.tar.gz
gdb-595a4d439bc5976d5bdf61da6d44337b3995d967.tar.bz2
libctf: explicitly cast more size_t types used in printf()s
Unsigned long will always be adequate (the only cases involving an ssize_t are cases in which no error can be generated, or in which negative output would require a seriously corrupted file: the latter has been rewritten on a branch in any case). Tested on x86_64-pc-linux-gnu, x86_64-unknown-freebsd12.0, sparc-sun-solaris2.11, i686-pc-cygwin, i686-w64-mingw32. libctf/ * ctf-dump.c (ctf_dump_format_type): Cast size_t's used in printf()s. (ctf_dump_objts): Likewise. (ctf_dump_funcs): Likewise. (ctf_dump_member): Likewise. (ctf_dump_str): Likewise.
Diffstat (limited to 'libctf/ctf-open-bfd.c')
0 files changed, 0 insertions, 0 deletions