aboutsummaryrefslogtreecommitdiff
path: root/libiberty/dwarfnames.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-19 15:36:52 +0000
committerPedro Alves <palves@redhat.com>2013-04-19 15:36:52 +0000
commita398505b407f8197a9efd80490d3c4a725aeaab0 (patch)
treee5c4a533a37eddaee2c9a97982350110df9f5af6 /libiberty/dwarfnames.c
parent9f8afa72d13f221932e25bb15f01799e171d93a1 (diff)
downloadgdb-a398505b407f8197a9efd80490d3c4a725aeaab0.zip
gdb-a398505b407f8197a9efd80490d3c4a725aeaab0.tar.gz
gdb-a398505b407f8197a9efd80490d3c4a725aeaab0.tar.bz2
-Wpointer-sign: ctf.c.
ctf_save_write's second parameter is gdb_byte *, and all these arguments are 'char *'. Since this function is ultimately just writing host bytes to a local file with fwrite, an alternative would be to change ctf_save_write to take a 'void *' instead of 'gdb_byte *', thus removing the need for any cast (we have more calls with casts than without). gdb/ 2013-04-19 Pedro Alves <palves@redhat.com> * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts to 'gdb_byte *'.
Diffstat (limited to 'libiberty/dwarfnames.c')
0 files changed, 0 insertions, 0 deletions