From 1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 May 2001 09:55:02 +0000 Subject: [PATCH] Change type of 'addr' to be unsigned long, in order to match its use. --- bfd/ChangeLog | 5 +++++ bfd/dwarf1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 29d153c0b29..afb0e2642b1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-05-11 Nick Clifton + + * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr' + to be unsigned long, in order to match its use. + 2001-05-10 H.J. Lu * linker.c (_bfd_generic_link_add_one_symbol): Check loop on diff --git a/bfd/dwarf1.c b/bfd/dwarf1.c index b96adc5b452..2fef2ef5189 100644 --- a/bfd/dwarf1.c +++ b/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; -- 2.30.2