diff options
Diffstat (limited to 'gdb/ppc-ravenscar-thread.c')
-rw-r--r-- | gdb/ppc-ravenscar-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-ravenscar-thread.c b/gdb/ppc-ravenscar-thread.c index 7a1b8a5..e27d125 100644 --- a/gdb/ppc-ravenscar-thread.c +++ b/gdb/ppc-ravenscar-thread.c @@ -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); } |