aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index b49d9a3..f36d490 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2323,7 +2323,7 @@ swap_out_syms (abfd, sttp)
sym.st_info = 0;
sym.st_other = 0;
sym.st_shndx = SHN_UNDEF;
- bed->s->swap_symbol_out (abfd, &sym, outbound_syms);
+ bed->s->swap_symbol_out (abfd, &sym, (PTR) outbound_syms);
outbound_syms += bed->s->sizeof_sym;
}
for (idx = 0; idx < symcount; idx++)
@@ -2423,7 +2423,7 @@ swap_out_syms (abfd, sttp)
}
sym.st_other = 0;
- bed->s->swap_symbol_out (abfd, &sym, outbound_syms);
+ bed->s->swap_symbol_out (abfd, &sym, (PTR) outbound_syms);
outbound_syms += bed->s->sizeof_sym;
}