* 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.
This commit is contained in:
Cary Coutant 2011-08-29 18:22:30 +00:00
parent c04b3e8fc5
commit 66570254ec
2 changed files with 10 additions and 2 deletions

View 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

View 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());