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 | 1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313 (patch) | |
tree | 95ab5b760bc51441d59c868df042008d4c2cae5f | |
parent | e800833bdb74fa1c2f08fa751825b19d2f76638e (diff) | |
download | ppe42-binutils-1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313.tar.gz ppe42-binutils-1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313.zip |
Change type of 'addr' to be unsigned long, in order to match its use.
-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 29d153c0b2..afb0e2642b 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 b96adc5b45..2fef2ef518 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; |