aboutsummaryrefslogtreecommitdiff
path: root/bfd/peicode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-12 07:16:41 +0000
committerNick Clifton <nickc@redhat.com>2007-07-12 07:16:41 +0000
commitd2df793a7137120047017593d26669e5092e3841 (patch)
tree691f20fd53ad1cb970387e3a5f434824cb1fb2fe /bfd/peicode.h
parentdb42c6e8ee92965ca26f4ccf2183d26a8c560931 (diff)
downloadgdb-d2df793a7137120047017593d26669e5092e3841.zip
gdb-d2df793a7137120047017593d26669e5092e3841.tar.gz
gdb-d2df793a7137120047017593d26669e5092e3841.tar.bz2
Add support for building on a 64-bit Windows host.
Diffstat (limited to 'bfd/peicode.h')
-rw-r--r--bfd/peicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peicode.h b/bfd/peicode.h
index a64ac1d..9a512a7 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -567,7 +567,7 @@ pe_ILF_make_a_symbol (pe_ILF_vars * vars,
/* Initialise the internal symbol structure. */
ent->u.syment.n_sclass = sclass;
ent->u.syment.n_scnum = section->target_index;
- ent->u.syment._n._n_n._n_offset = (long) sym;
+ ent->u.syment._n._n_n._n_offset = (bfd_hostptr_t) sym;
sym->symbol.the_bfd = vars->abfd;
sym->symbol.name = vars->string_ptr;