PR binutils/4292
authorAlan Modra <amodra@gmail.com>
Thu, 5 Apr 2007 06:36:35 +0000 (06:36 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 5 Apr 2007 06:36:35 +0000 (06:36 +0000)
* nm.c (print_value): Cast bfd_vma to unsigned long to suit
value_format_32bit.

binutils/ChangeLog
binutils/nm.c

index 3d8c7615c3941eb014a6b7ff3ebffc1febaa5d6e..23235b9215e2efed963faa84762dd4d7d4211dc8 100644 (file)
@@ -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
index 3b0b7e0d47e454bcba6a5f5ea9a7d0d56006bdb3..5d4300549691eab4980be9f351e0eab98824d77c 100644 (file)
@@ -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: