Add support for building on a 64-bit Windows host.
[deliverable/binutils-gdb.git] / bfd / peicode.h
index a64ac1de7d0b4f346fc360b468580cde895db5f1..9a512a7d6d0c3daeab15f7bcaa9e362826f6e5fc 100644 (file)
@@ -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;
This page took 0.024482 seconds and 4 git commands to generate.