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 /bfd/dwarf1.c | |
parent | e800833bdb74fa1c2f08fa751825b19d2f76638e (diff) | |
download | gdb-1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313.zip gdb-1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313.tar.gz gdb-1548c54f2ec8d0b0f64c0f41f9ec2345b8bbd313.tar.bz2 |
Change type of 'addr' to be unsigned long, in order to match its use.
Diffstat (limited to 'bfd/dwarf1.c')
-rw-r--r-- | bfd/dwarf1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf1.c b/bfd/dwarf1.c index b96adc5..2fef2ef 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; |