diff options
author | Nick Clifton <nickc@redhat.com> | 2001-05-11 09:55:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-05-11 09:55:02 +0000 |
commit | f85f48c4a486ca11d2013ac8d97be03ecae44b69 (patch) | |
tree | bead4bc1618792ad270bcdebd947460554c507f8 /bfd | |
parent | f423dd801a01d4329dbb8f36b124c5c0b6234171 (diff) | |
download | gdb-f85f48c4a486ca11d2013ac8d97be03ecae44b69.tar.gz |
Change type of 'addr' to be unsigned long, in order to match its use.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/dwarf1.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <nickc@cambridge.redhat.com> + + * 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 <hjl@gnu.org> * 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; |