diff options
-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: |