summaryrefslogtreecommitdiff
path: root/bfd/elf-eh-frame.c
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
commit5f9bc5383dc33ace1f040b05b8d533c87e210af3 (patch)
tree499ad5d5c03e2fa78cf516948cebc69b542e6aab /bfd/elf-eh-frame.c
parenta84c9eaa7278bcb84b5d67cef0ac9a94b8232ff6 (diff)
downloadgdb-5f9bc5383dc33ace1f040b05b8d533c87e210af3.tar.gz
Add support for building on a 64-bit Windows host.
Diffstat (limited to 'bfd/elf-eh-frame.c')
-rw-r--r--bfd/elf-eh-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
index 88197b3385e..473e890663f 100644
--- a/bfd/elf-eh-frame.c
+++ b/bfd/elf-eh-frame.c
@@ -953,7 +953,7 @@ _bfd_elf_discard_section_eh_frame
{
if (!ent->cie)
{
- ecie = ecies + (unsigned long) ent->cie_inf;
+ ecie = ecies + (bfd_hostptr_t) ent->cie_inf;
ent->cie_inf = ecie->cie.cie_inf;
}
ent->new_offset = offset;