diff options
Diffstat (limited to 'gdb/i386-gnu-nat.c')
-rw-r--r-- | gdb/i386-gnu-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-gnu-nat.c b/gdb/i386-gnu-nat.c index e14a181..c6c53ca 100644 --- a/gdb/i386-gnu-nat.c +++ b/gdb/i386-gnu-nat.c @@ -307,7 +307,7 @@ i386_gnu_dr_set (const struct i386_debug_state *regs, struct proc *thread) static void i386_gnu_dr_set_control_one (struct proc *thread, void *arg) { - unsigned long *control = arg; + unsigned long *control = (unsigned long *) arg; struct i386_debug_state regs; i386_gnu_dr_get (®s, thread); @@ -337,7 +337,7 @@ struct reg_addr static void i386_gnu_dr_set_addr_one (struct proc *thread, void *arg) { - struct reg_addr *reg_addr = arg; + struct reg_addr *reg_addr = (struct reg_addr *) arg; struct i386_debug_state regs; i386_gnu_dr_get (®s, thread); |