aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 401c359..6c03dbd 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -1220,7 +1220,7 @@ v850_frame_cache (struct frame_info *this_frame, void **this_cache)
int i;
if (*this_cache)
- return *this_cache;
+ return (struct v850_frame_cache *) *this_cache;
cache = v850_alloc_frame_cache (this_frame);
*this_cache = cache;