From 66570254ec0d80d027be9ee3fb3009640becaab4 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 29 Aug 2011 18:22:30 +0000 Subject: [PATCH] * 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. --- gold/ChangeLog | 6 ++++++ gold/output.cc | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 06d9bb578f7..7270c4b21f4 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2011-08-29 Cary Coutant + + * 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 * layout.cc (Free_list::allocate): Provide guarantee of minimum diff --git a/gold/output.cc b/gold/output.cc index 12268c9a1f4..9bf6a42122b 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -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(off), static_cast(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(off), static_cast(len)); gold_assert(len >= this->do_minimum_hole_size()); -- 2.30.2