Add some more casts (1/2)
[deliverable/binutils-gdb.git] / gdb / amd64-nat.c
index 6a1690e3d71953a1b9faa0cd1f4d1cb3d6dcad96..884f04d986dc88273559edc83865a072550809cc 100644 (file)
@@ -88,7 +88,7 @@ void
 amd64_supply_native_gregset (struct regcache *regcache,
                             const void *gregs, int regnum)
 {
-  const char *regs = gregs;
+  const char *regs = (const char *) gregs;
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
   int num_regs = amd64_native_gregset64_num_regs;
   int i;
@@ -119,7 +119,7 @@ void
 amd64_collect_native_gregset (const struct regcache *regcache,
                              void *gregs, int regnum)
 {
-  char *regs = gregs;
+  char *regs = (char *) gregs;
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
   int num_regs = amd64_native_gregset64_num_regs;
   int i;
This page took 0.028351 seconds and 4 git commands to generate.