diff options
author | Pedro Alves <palves@redhat.com> | 2013-04-19 15:34:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-04-19 15:34:46 +0000 |
commit | f9d83a0bd683b2298279bb93be8cf499fef90b6c (patch) | |
tree | 3655363e08fbf75b77505bbbd260c255a23fd881 /gdb/ChangeLog | |
parent | 745eb4fdb2c0c7e68cdb9672412ad8ceca7347f2 (diff) | |
download | gdb-f9d83a0bd683b2298279bb93be8cf499fef90b6c.zip gdb-f9d83a0bd683b2298279bb93be8cf499fef90b6c.tar.gz gdb-f9d83a0bd683b2298279bb93be8cf499fef90b6c.tar.bz2 |
-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 *'.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a28fdad..0d2e7f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 *'. + +2013-04-19 Pedro Alves <palves@redhat.com> + * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'. 2013-04-19 Pedro Alves <palves@redhat.com> |