diff options
Diffstat (limited to 'gdb/bfd-target.c')
-rw-r--r-- | gdb/bfd-target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c index b7cd8e6..ee93c3b 100644 --- a/gdb/bfd-target.c +++ b/gdb/bfd-target.c @@ -48,7 +48,7 @@ target_bfd_xfer_partial (struct target_ops *ops, { 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, @@ -63,14 +63,14 @@ target_bfd_xfer_partial (struct target_ops *ops, 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); |