diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-05 06:36:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-05 06:36:35 +0000 |
commit | be26064bad19d44450d2b06e51d0a9d9f714f759 (patch) | |
tree | 900874f04534367a911bce08826f051cf0a208f0 | |
parent | f5fb44398774242d0431c1f58667d4b227638ca3 (diff) | |
download | gdb-be26064bad19d44450d2b06e51d0a9d9f714f759.zip gdb-be26064bad19d44450d2b06e51d0a9d9f714f759.tar.gz gdb-be26064bad19d44450d2b06e51d0a9d9f714f759.tar.bz2 |
PR binutils/4292
* nm.c (print_value): Cast bfd_vma to unsigned long to suit
value_format_32bit.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/nm.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3d8c761..23235b9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2007-04-05 Alan Modra <amodra@bigpond.net.au> + + PR binutils/4292 + * nm.c (print_value): Cast bfd_vma to unsigned long to suit + value_format_32bit. + 2007-04-02 Nick Clifton <nickc@redhat.com> PR binutils/4292 diff --git a/binutils/nm.c b/binutils/nm.c index 3b0b7e0..5d43005 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1334,7 +1334,7 @@ print_value (bfd *abfd ATTRIBUTE_UNUSED, bfd_vma val) switch (print_width) { case 32: - printf (value_format_32bit, val); + printf (value_format_32bit, (unsigned long) val); break; case 64: |