aboutsummaryrefslogtreecommitdiff
path: root/bfd/pdp11.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/pdp11.c')
-rw-r--r--bfd/pdp11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 265c159..2c08497 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -2247,7 +2247,7 @@ NAME(aout,slurp_reloc_table) (abfd, asect, symbols)
{
int x;
- x = GET_WORD (abfd, relocs + each_size * counter);
+ x = GET_WORD (abfd, (char *) relocs + each_size * counter);
if (x != 0)
real_count++;
}