symtab.c: Add cast
[deliverable/binutils-gdb.git] / gdb / hppanbsd-tdep.c
index 45874663e3e70b567c1c4bfe642259a5ef54b211..33ae55aafd4a9f3ea3ce3a1a5f9adc75f18e10a7 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for NetBSD/hppa
 
-   Copyright (C) 2008-2014 Free Software Foundation, Inc.
+   Copyright (C) 2008-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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.02483 seconds and 4 git commands to generate.