aboutsummaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tramp-frame.c')
-rw-r--r--gdb/tramp-frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tramp-frame.c b/gdb/tramp-frame.c
index 7d288b6..8f5701e 100644
--- a/gdb/tramp-frame.c
+++ b/gdb/tramp-frame.c
@@ -43,7 +43,8 @@ static struct trad_frame_cache *
tramp_frame_cache (struct frame_info *this_frame,
void **this_cache)
{
- struct tramp_frame_cache *tramp_cache = (*this_cache);
+ struct tramp_frame_cache *tramp_cache
+ = (struct tramp_frame_cache *) *this_cache;
if (tramp_cache->trad_cache == NULL)
{