* ldlang.c (print_padding_statement): Cast size_t to bfd_vma

before printing it with %W.
This commit is contained in:
Joern Rennecke 2004-05-07 15:21:27 +00:00
parent 26d2d8a262
commit 5f9b892013
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
before printing it with %W.
2004-05-07 Brian Ford <ford@vss.fsi.com> 2004-05-07 Brian Ford <ford@vss.fsi.com>
DJ Delorie <dj@redhat.com> DJ Delorie <dj@redhat.com>

View File

@ -2490,7 +2490,7 @@ print_padding_statement (lang_padding_statement_type *s)
addr = s->output_offset; addr = s->output_offset;
if (s->output_section != NULL) if (s->output_section != NULL)
addr += s->output_section->vma; 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) if (s->fill->size != 0)
{ {