aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips64obsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips64obsd-tdep.c')
-rw-r--r--gdb/mips64obsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips64obsd-tdep.c b/gdb/mips64obsd-tdep.c
index 3150155..a3921c1 100644
--- a/gdb/mips64obsd-tdep.c
+++ b/gdb/mips64obsd-tdep.c
@@ -46,7 +46,7 @@ mips64obsd_supply_gregset (const struct regset *regset,
struct regcache *regcache, int regnum,
const void *gregs, size_t len)
{
- const char *regs = gregs;
+ const char *regs = (const char *) gregs;
int i;
for (i = 0; i < MIPS64OBSD_NUM_REGS; i++)