From 5f9b892013f7eacc96a3915f14005c59b5a1d3c5 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Fri, 7 May 2004 15:21:27 +0000 Subject: [PATCH] * ldlang.c (print_padding_statement): Cast size_t to bfd_vma before printing it with %W. --- ld/ChangeLog | 5 +++++ ld/ldlang.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 20222ff9102..9b79668b683 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 d2b5fed74a6..40feeb36268 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) { -- 2.30.2