MIPS: Fix microMIPS instruction size determination
[deliverable/binutils-gdb.git] / gdb / ppc-ravenscar-thread.c
index 6d7f88893b1386c97ce78615fa0bf084ce32958f..dbe8f3d91379db14210891c3220af973f6730a7e 100644 (file)
@@ -1,6 +1,6 @@
 /* Ravenscar PowerPC target support.
 
-   Copyright (C) 2011-2014 Free Software Foundation, Inc.
+   Copyright (C) 2011-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -123,7 +123,7 @@ supply_register_at_address (struct regcache *regcache, int regnum,
   int buf_size = register_size (gdbarch, regnum);
   gdb_byte *buf;
 
-  buf = alloca (buf_size);
+  buf = (gdb_byte *) alloca (buf_size);
   read_memory (register_addr, buf, buf_size);
   regcache_raw_supply (regcache, regnum, buf);
 }
This page took 0.02419 seconds and 4 git commands to generate.