Add some more casts (1/2)
[deliverable/binutils-gdb.git] / gdb / hppanbsd-tdep.c
index 767db625a24d714bb7fc823c60634869bfa0b9f2..33ae55aafd4a9f3ea3ce3a1a5f9adc75f18e10a7 100644 (file)
@@ -165,7 +165,7 @@ hppanbsd_supply_gregset (const struct regset *regset,
                         struct regcache *regcache,
                         int regnum, const void *gregs, size_t len)
 {
-  const gdb_byte *regs = gregs;
+  const gdb_byte *regs = (const gdb_byte *) gregs;
   int i;
 
   gdb_assert (len >= HPPANBSD_SIZEOF_GREGS);
This page took 0.027879 seconds and 4 git commands to generate.