diff options
Diffstat (limited to 'gdb/dwarf2cfi.c')
-rw-r--r-- | gdb/dwarf2cfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c index c431862..75c3c4d 100644 --- a/gdb/dwarf2cfi.c +++ b/gdb/dwarf2cfi.c @@ -1754,7 +1754,7 @@ cfi_init_frame_pc (int fromleaf, struct frame_info *fi) CORE_ADDR pc; /* FIXME: cagney/2002-12-04: This is straight wrong. It's assuming that the PC is CORE_ADDR (a host quantity) in size. */ - get_reg (&pc, UNWIND_CONTEXT (get_next_frame (fi)), PC_REGNUM); + get_reg ((void *)&pc, UNWIND_CONTEXT (get_next_frame (fi)), PC_REGNUM); return pc; } else |