* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
[deliverable/binutils-gdb.git] / gdb / bsd-uthread.c
index 28d3d25de4d0e75b6c2ce8247b7802cdcbcc0135..aa3425d73f917e6712e0e27085c76744dbd3c1ec 100644 (file)
@@ -320,8 +320,9 @@ bsd_uthread_store_registers (int regnum)
 
 static LONGEST
 bsd_uthread_xfer_partial (struct target_ops *ops, enum target_object object,
-                         const char *annex, void *readbuf,
-                         const void *writebuf, ULONGEST offset, LONGEST len)
+                         const char *annex, gdb_byte *readbuf,
+                         const gdb_byte *writebuf,
+                         ULONGEST offset, LONGEST len)
 {
   gdb_assert (ops->beneath->to_xfer_partial);
   return ops->beneath->to_xfer_partial (ops->beneath, object, annex, readbuf,
@@ -342,7 +343,7 @@ bsd_uthread_wait (ptid_t ptid, struct target_waitstatus *status)
                                    builtin_type_void_data_ptr);
   if (addr != 0)
     {
-      char buf[4];
+      gdb_byte buf[4];
 
       /* FIXME: For executables linked statically with the threads
          library, we end up here before the program has actually been
This page took 0.025082 seconds and 4 git commands to generate.