* output.cc: (Output_fill_debug_info::do_minimum_hole_size): Add
authorCary Coutant <ccoutant@google.com>
Mon, 29 Aug 2011 18:22:30 +0000 (18:22 +0000)
committerCary Coutant <ccoutant@google.com>
Mon, 29 Aug 2011 18:22:30 +0000 (18:22 +0000)
casts to match formatting specs.
(Output_fill_debug_line::do_minimum_hole_size): Likewise.

gold/ChangeLog
gold/output.cc

index 06d9bb578f742c6462a143fdd4bf8b449b8a88c3..7270c4b21f488e563f6d2845b1a6cbfc2c71adc9 100644 (file)
@@ -1,3 +1,9 @@
+2011-08-29  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc: (Output_fill_debug_info::do_minimum_hole_size): Add
+       casts to match formatting specs.
+       (Output_fill_debug_line::do_minimum_hole_size): Likewise.
+
 2011-08-26  Cary Coutant  <ccoutant@google.com>
 
        * layout.cc (Free_list::allocate): Provide guarantee of minimum
index 12268c9a1f4d91201505fc8c6cfc55a180c16244..9bf6a42122b0e153d7817c407099156133d20258 100644 (file)
@@ -1949,7 +1949,8 @@ Output_fill_debug_info::do_minimum_hole_size() const
 void
 Output_fill_debug_info::do_write(Output_file* of, off_t off, size_t len) const
 {
-  gold_debug(DEBUG_INCREMENTAL, "fill_debug_info(%08lx, %08lx)", off, len);
+  gold_debug(DEBUG_INCREMENTAL, "fill_debug_info(%08lx, %08lx)",
+            static_cast<long>(off), static_cast<long>(len));
 
   gold_assert(len >= this->do_minimum_hole_size());
 
@@ -2005,7 +2006,8 @@ Output_fill_debug_line::do_minimum_hole_size() const
 void
 Output_fill_debug_line::do_write(Output_file* of, off_t off, size_t len) const
 {
-  gold_debug(DEBUG_INCREMENTAL, "fill_debug_line(%08lx, %08lx)", off, len);
+  gold_debug(DEBUG_INCREMENTAL, "fill_debug_line(%08lx, %08lx)",
+            static_cast<long>(off), static_cast<long>(len));
 
   gold_assert(len >= this->do_minimum_hole_size());
 
This page took 0.031505 seconds and 4 git commands to generate.