aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-sde-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-sde-tdep.c')
-rw-r--r--gdb/mips-sde-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-sde-tdep.c b/gdb/mips-sde-tdep.c
index 0246b27..8e4690e 100644
--- a/gdb/mips-sde-tdep.c
+++ b/gdb/mips-sde-tdep.c
@@ -48,7 +48,7 @@ mips_sde_frame_cache (struct frame_info *this_frame, void **this_cache)
int i;
if (*this_cache != NULL)
- return *this_cache;
+ return (struct trad_frame_cache *) *this_cache;
cache = trad_frame_cache_zalloc (this_frame);
*this_cache = cache;
@@ -205,7 +205,7 @@ static void
mips_sde_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect,
void *obj)
{
- enum gdb_osabi *os_ident_ptr = obj;
+ enum gdb_osabi *os_ident_ptr = (enum gdb_osabi *) obj;
const char *name;
name = bfd_get_section_name (abfd, sect);