diff options
Diffstat (limited to 'gdb/hppaobsd-tdep.c')
-rw-r--r-- | gdb/hppaobsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppaobsd-tdep.c b/gdb/hppaobsd-tdep.c index c9bc1bf7a91..1f5278d5ae3 100644 --- a/gdb/hppaobsd-tdep.c +++ b/gdb/hppaobsd-tdep.c @@ -44,7 +44,7 @@ hppaobsd_supply_gregset (const struct regset *regset, int regnum, const void *gregs, size_t len) { gdb_byte zero[4] = { 0 }; - const gdb_byte *regs = gregs; + const gdb_byte *regs = (const gdb_byte *) gregs; size_t offset; int i; @@ -114,7 +114,7 @@ hppaobsd_supply_fpregset (const struct regset *regset, int regnum, const void *fpregs, size_t len) { struct gdbarch *gdbarch = get_regcache_arch (regcache); - const gdb_byte *regs = fpregs; + const gdb_byte *regs = (const gdb_byte *) fpregs; int i; gdb_assert (len >= HPPAOBSD_SIZEOF_FPREGS); |