aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-symbian-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arm-symbian-tdep.c')
-rw-r--r--gdb/arm-symbian-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-symbian-tdep.c b/gdb/arm-symbian-tdep.c
index 02811ed..5a94293 100644
--- a/gdb/arm-symbian-tdep.c
+++ b/gdb/arm-symbian-tdep.c
@@ -108,7 +108,7 @@ arm_symbian_osabi_sniffer (bfd *abfd)
if (phdrs_size == -1)
return GDB_OSABI_UNKNOWN;
- phdrs = alloca (phdrs_size);
+ phdrs = (Elf_Internal_Phdr *) alloca (phdrs_size);
num_phdrs = bfd_get_elf_phdrs (abfd, phdrs);
if (num_phdrs == -1)
return GDB_OSABI_UNKNOWN;