From: Joern Rennecke Date: Fri, 7 May 2004 15:21:27 +0000 (+0000) Subject: * ldlang.c (print_padding_statement): Cast size_t to bfd_vma X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=5f9b892013f7eacc96a3915f14005c59b5a1d3c5;p=deliverable%2Fbinutils-gdb.git * ldlang.c (print_padding_statement): Cast size_t to bfd_vma before printing it with %W. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 20222ff910..9b79668b68 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-05-07 J"orn Rennecke + + * ldlang.c (print_padding_statement): Cast size_t to bfd_vma + before printing it with %W. + 2004-05-07 Brian Ford DJ Delorie diff --git a/ld/ldlang.c b/ld/ldlang.c index d2b5fed74a..40feeb3626 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2490,7 +2490,7 @@ print_padding_statement (lang_padding_statement_type *s) addr = s->output_offset; if (s->output_section != NULL) addr += s->output_section->vma; - minfo ("0x%V %W ", addr, s->size); + minfo ("0x%V %W ", addr, (bfd_vma) s->size); if (s->fill->size != 0) {