{
case TARGET_OBJECT_MEMORY:
{
- struct target_bfd_data *data = ops->to_data;
+ struct target_bfd_data *data = (struct target_bfd_data *) ops->to_data;
return section_table_xfer_memory_partial (readbuf, writebuf,
offset, len, xfered_len,
data->table.sections,
static struct target_section_table *
target_bfd_get_section_table (struct target_ops *ops)
{
- struct target_bfd_data *data = ops->to_data;
+ struct target_bfd_data *data = (struct target_bfd_data *) ops->to_data;
return &data->table;
}
static void
target_bfd_xclose (struct target_ops *t)
{
- struct target_bfd_data *data = t->to_data;
+ struct target_bfd_data *data = (struct target_bfd_data *) t->to_data;
gdb_bfd_unref (data->bfd);
xfree (data->table.sections);