summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/dwarf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/bfd/dwarf1.c')
-rw-r--r--contrib/binutils/bfd/dwarf1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/dwarf1.c b/contrib/binutils/bfd/dwarf1.c
index b96adc5..2fef2ef 100644
--- a/contrib/binutils/bfd/dwarf1.c
+++ b/contrib/binutils/bfd/dwarf1.c
@@ -458,7 +458,7 @@ _bfd_dwarf1_find_nearest_line (abfd, section, symbols, offset,
struct dwarf1_unit* eachUnit;
/* What address are we looking for? */
- bfd_vma addr = offset + section->vma;
+ unsigned long addr = (unsigned long)(offset + section->vma);
*filename_ptr = NULL;
*functionname_ptr = NULL;
OpenPOWER on IntegriCloud