* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 7 May 2004 15:21:27 +0000 (15:21 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 7 May 2004 15:21:27 +0000 (15:21 +0000)
before printing it with %W.

ld/ChangeLog
ld/ldlang.c

index 20222ff91026d1ac5f7ff3c9b0cdc5ecd9286c63..9b79668b683ec724739b2bebd51060cc92dea36f 100644 (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>
             DJ Delorie  <dj@redhat.com>
 
index d2b5fed74a690beb36843c3f0b5eeb4b0983a909..40feeb362685e8d7d8c1f2e100e73c7ad61076d0 100644 (file)
@@ -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)
     {