diff options
Diffstat (limited to 'gdb/osabi.c')
-rw-r--r-- | gdb/osabi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osabi.c b/gdb/osabi.c index 6a269a8..eb5a750 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -458,7 +458,7 @@ generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj) compressed section. But, since note sections are not compressed, deferring the reading until we recognize the section avoids any error. */ - note = alloca (sectsize); + note = (char *) alloca (sectsize); /* .note.ABI-tag notes, used by GNU/Linux and FreeBSD. */ if (strcmp (name, ".note.ABI-tag") == 0) |