diff options
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 8337f19..b8c6ecb 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -798,7 +798,7 @@ bfd_mach_o_scan_read_symtab_strtab (abfd, sym) bfd_set_error (bfd_error_file_truncated); return -1; } - sym->strtab = b->buffer + sym->stroff; + sym->strtab = (char *) b->buffer + sym->stroff; return 0; } @@ -2120,7 +2120,7 @@ bfd_mach_o_core_file_failing_command (abfd) if (ret < 0) return NULL; - return buf; + return (char *) buf; } int |