diff options
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 88a6441..73e4048 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -320,7 +320,7 @@ cris_sigtramp_frame_unwind_cache (struct frame_info *this_frame, int i; if ((*this_cache)) - return (*this_cache); + return (struct cris_unwind_cache *) (*this_cache); info = FRAME_OBSTACK_ZALLOC (struct cris_unwind_cache); (*this_cache) = info; @@ -704,7 +704,7 @@ cris_frame_unwind_cache (struct frame_info *this_frame, struct cris_unwind_cache *info; if ((*this_prologue_cache)) - return (*this_prologue_cache); + return (struct cris_unwind_cache *) (*this_prologue_cache); info = FRAME_OBSTACK_ZALLOC (struct cris_unwind_cache); (*this_prologue_cache) = info; |