-Wpointer-sign: dwarf2read.c.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:34:46 +0000 (15:34 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:34:46 +0000 (15:34 +0000)
commitf9d83a0bd683b2298279bb93be8cf499fef90b6c
tree3655363e08fbf75b77505bbbd260c255a23fd881
parent745eb4fdb2c0c7e68cdb9672412ad8ceca7347f2
-Wpointer-sign: dwarf2read.c.

This fixes the remaining issues necessary to make the DWARF reader
-Wpointer-sign clean.  The 'filename' bit should be obvious.
'constant_pool' holds the contents of an obstack, which are 'char *'.
gdb_byte would work too, but it'd need more casts elsewhere, so I just
chose the minimal approach.  Any way would be fine with me.

gdb/
2013-04-19  Pedro Alves  <palves@redhat.com>

* dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
(read_index_from_section): Add cast to 'char *'.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.023805 seconds and 4 git commands to generate.