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 /binutils/nm.c | |
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.
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |