summaryrefslogtreecommitdiff
path: root/gdb/mt-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mt-tdep.c')
-rw-r--r--gdb/mt-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c
index 21d081da777..44983f0692a 100644
--- a/gdb/mt-tdep.c
+++ b/gdb/mt-tdep.c
@@ -915,7 +915,7 @@ mt_frame_unwind_cache (struct frame_info *this_frame,
ULONGEST sp, fp;
if ((*this_prologue_cache))
- return (*this_prologue_cache);
+ return (struct mt_unwind_cache *) (*this_prologue_cache);
gdbarch = get_frame_arch (this_frame);
info = FRAME_OBSTACK_ZALLOC (struct mt_unwind_cache);