diff options
author | Cary Coutant <ccoutant@google.com> | 2011-08-29 18:22:30 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-08-29 18:22:30 +0000 |
commit | 66570254ec0d80d027be9ee3fb3009640becaab4 (patch) | |
tree | 99475ac26fe0fea7462938efabdf477b518df67a /gold/output.cc | |
parent | c04b3e8fc5b1096c502afa485cf468054af8c626 (diff) | |
download | gdb-66570254ec0d80d027be9ee3fb3009640becaab4.zip gdb-66570254ec0d80d027be9ee3fb3009640becaab4.tar.gz gdb-66570254ec0d80d027be9ee3fb3009640becaab4.tar.bz2 |
* 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.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/output.cc b/gold/output.cc index 12268c9..9bf6a42 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<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()); |