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;
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);