From 21fd2dbd9c97e24d8de650f0350a249d737d7852 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 22 Jul 2010 14:48:54 +0000 Subject: [PATCH] * archive.c (_bfd_archive_bsd44_construct_extended_name_table): Correct format specifier. --- bfd/ChangeLog | 5 +++++ bfd/archive.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a6ce53124ce..cdbf3a04d88 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-07-23 Alan Modra + + * archive.c (_bfd_archive_bsd44_construct_extended_name_table): + Correct format specifier. + 2010-07-22 Alan Modra * ecoff.c: Don't include aout/ranlib.h. diff --git a/bfd/archive.c b/bfd/archive.c index fbe555b03f5..1b3f69215ec 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1649,7 +1649,7 @@ _bfd_archive_bsd44_construct_extended_name_table (bfd *abfd, len = (len + 3) & ~3; arch_eltdata (current)->extra_size = len; - _bfd_ar_spacepad (hdr->ar_name, maxname, "#1/%u", len); + _bfd_ar_spacepad (hdr->ar_name, maxname, "#1/%lu", len); } } -- 2.30.2