gdbserver/tracepoint: Add casts out of tpoint->handle
[deliverable/binutils-gdb.git] / gdb / fbsd-tdep.c
index 9609cd8f8e4f73e81f3f313c88db5e7e31673c94..d7a59838f183992eb66647c55192f904eaa03525 100644 (file)
@@ -64,11 +64,12 @@ fbsd_collect_regset_section_cb (const char *sect_name, int size,
                                const char *human_name, void *cb_data)
 {
   char *buf;
-  struct fbsd_collect_regset_section_cb_data *data = cb_data;
+  struct fbsd_collect_regset_section_cb_data *data
+    = (struct fbsd_collect_regset_section_cb_data *) cb_data;
 
   gdb_assert (regset->collect_regset);
 
-  buf = xmalloc (size);
+  buf = (char *) xmalloc (size);
   regset->collect_regset (regset, data->regcache, -1, buf, size);
 
   /* PRSTATUS still needs to be treated specially.  */
This page took 0.023772 seconds and 4 git commands to generate.