From: Alan Modra Date: Thu, 5 Apr 2007 06:36:35 +0000 (+0000) Subject: PR binutils/4292 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be26064bad19d44450d2b06e51d0a9d9f714f759;p=binutils-gdb.git PR binutils/4292 * nm.c (print_value): Cast bfd_vma to unsigned long to suit value_format_32bit. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3d8c7615c39..23235b9215e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2007-04-05 Alan Modra + + PR binutils/4292 + * nm.c (print_value): Cast bfd_vma to unsigned long to suit + value_format_32bit. + 2007-04-02 Nick Clifton PR binutils/4292 diff --git a/binutils/nm.c b/binutils/nm.c index 3b0b7e0d47e..5d430054969 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: