diff options
Diffstat (limited to 'gdb/amd64obsd-tdep.c')
-rw-r--r-- | gdb/amd64obsd-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64obsd-tdep.c b/gdb/amd64obsd-tdep.c index d6c7e90..46bf7c5 100644 --- a/gdb/amd64obsd-tdep.c +++ b/gdb/amd64obsd-tdep.c @@ -114,7 +114,7 @@ amd64obsd_sigtramp_p (struct frame_info *this_frame) return 0; /* If we can't read the instructions at START_PC, return zero. */ - buf = alloca ((sizeof sigreturn) + 1); + buf = (gdb_byte *) alloca ((sizeof sigreturn) + 1); if (!safe_frame_unwind_memory (this_frame, start_pc + 6, buf, buflen)) return 0; |