common/filestuff.c (make_cleanup_close): Update comment.
[deliverable/binutils-gdb.git] / gdb / ppc-ravenscar-thread.c
index 7a1b8a5c46eb9e28abd328e9a0a701aa12bbc907..e27d12559d929b2584b04115bb3709f7a23112e3 100644 (file)
@@ -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.023919 seconds and 4 git commands to generate.