From: Alan Modra Date: Thu, 22 Jul 2010 14:48:54 +0000 (+0000) Subject: * archive.c (_bfd_archive_bsd44_construct_extended_name_table): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21fd2dbd9c97e24d8de650f0350a249d737d7852;p=binutils-gdb.git * archive.c (_bfd_archive_bsd44_construct_extended_name_table): Correct format specifier. --- 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); } }