aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index dc24d24..5a858dd 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4381,7 +4381,7 @@ coff_slurp_symbol_table (bfd * abfd)
dst->symbol.name = (char *) (src->u.syment._n._n_n._n_offset);
/* We use the native name field to point to the cached field. */
- src->u.syment._n._n_n._n_zeroes = (long) dst;
+ src->u.syment._n._n_n._n_zeroes = (bfd_hostptr_t) dst;
dst->symbol.section = coff_section_from_bfd_index (abfd,
src->u.syment.n_scnum);
dst->symbol.flags = 0;