aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64obsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64obsd-nat.c')
-rw-r--r--gdb/amd64obsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c
index 265aca9..cfc9161 100644
--- a/gdb/amd64obsd-nat.c
+++ b/gdb/amd64obsd-nat.c
@@ -103,7 +103,7 @@ amd64obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
return 0;
/* Read the stack frame, and check its validity. */
- read_memory (pcb->pcb_rsp, (char *) &sf, sizeof sf);
+ read_memory (pcb->pcb_rsp, (gdb_byte *) &sf, sizeof sf);
if (sf.sf_rbp == pcb->pcb_rbp)
{
/* Yes, we have a frame that matches cpu_switch(). */