Use gdb_byte for bytes from the program being debugged.
[deliverable/binutils-gdb.git] / gdb / spu-linux-nat.c
index ecba0f266c8fb6b4aa099ee0ee1690c30521d0a8..ca8d92d33ac114bedbb0df638c0498bba4cec8fb 100644 (file)
@@ -493,7 +493,7 @@ spu_fetch_inferior_registers (struct target_ops *ops,
     {
       struct gdbarch *gdbarch = get_regcache_arch (regcache);
       enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
-      char buf[4];
+      gdb_byte buf[4];
       store_unsigned_integer (buf, 4, byte_order, fd);
       regcache_raw_supply (regcache, SPU_ID_REGNUM, buf);
     }
This page took 0.02553 seconds and 4 git commands to generate.