projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e800833
)
Change type of 'addr' to be unsigned long, in order to match its use.
author
Nick Clifton
<nickc@redhat.com>
Fri, 11 May 2001 09:55:02 +0000
(09:55 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Fri, 11 May 2001 09:55:02 +0000
(09:55 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/dwarf1.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 29d153c0b299d20c5553154b4eb223d75508d673..afb0e2642b1319528ad60ae319961b5f0f8e4503 100644
(file)
--- 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 b96adc5b4525008851765a95c6f3f57ab0d063f5..2fef2ef51890c0a4086fb13a24fbf8dc7fc6637e 100644
(file)
--- 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;