summaryrefslogtreecommitdiff
path: root/binutils/nm.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/nm.c')
-rw-r--r--binutils/nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/nm.c b/binutils/nm.c
index 3b0b7e0d47..5d43005496 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: