mirror of git://gcc.gnu.org/git/gcc.git
* elf.c (elf_add_syminfo_data): Add casts to avoid warning.
From-SVN: r192311
This commit is contained in:
parent
b85aed950d
commit
74f8062044
|
|
@ -1,3 +1,7 @@
|
||||||
|
2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
|
* elf.c (elf_add_syminfo_data): Add casts to avoid warning.
|
||||||
|
|
||||||
2012-10-09 Ian Lance Taylor <iant@google.com>
|
2012-10-09 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
* dwarf.c (dwarf_fileline): Add cast to avoid warning.
|
* dwarf.c (dwarf_fileline): Add cast to avoid warning.
|
||||||
|
|
|
||||||
|
|
@ -410,7 +410,7 @@ elf_add_syminfo_data (struct backtrace_state *state,
|
||||||
{
|
{
|
||||||
struct elf_syminfo_data **pp;
|
struct elf_syminfo_data **pp;
|
||||||
|
|
||||||
for (pp = (struct elf_syminfo_data **) &state->syminfo_data;
|
for (pp = (struct elf_syminfo_data **) (void *) &state->syminfo_data;
|
||||||
*pp != NULL;
|
*pp != NULL;
|
||||||
pp = &(*pp)->next)
|
pp = &(*pp)->next)
|
||||||
;
|
;
|
||||||
|
|
@ -422,7 +422,7 @@ elf_add_syminfo_data (struct backtrace_state *state,
|
||||||
{
|
{
|
||||||
struct elf_syminfo_data **pp;
|
struct elf_syminfo_data **pp;
|
||||||
|
|
||||||
pp = (struct elf_syminfo_data **) &state->syminfo_data;
|
pp = (struct elf_syminfo_data **) (void *) &state->syminfo_data;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue