aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcobsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcobsd-tdep.c')
-rw-r--r--gdb/sparcobsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c
index 0796f99..792da7b 100644
--- a/gdb/sparcobsd-tdep.c
+++ b/gdb/sparcobsd-tdep.c
@@ -74,7 +74,7 @@ sparc32obsd_sigtramp_frame_cache (struct frame_info *this_frame,
CORE_ADDR addr;
if (*this_cache)
- return *this_cache;
+ return (struct sparc_frame_cache *) *this_cache;
cache = sparc_frame_cache (this_frame, this_cache);
gdb_assert (cache == *this_cache);