@@ -188,8 +188,8 @@ checker_event::dump (pretty_printer *pp) const
if (m_effective_fndecl != m_original_fndecl)
pp_printf (pp, " corrected from %qE", m_original_fndecl);
}
- pp_printf (pp, ", m_loc=%x)",
- get_location ());
+ pp_printf (pp, ", m_loc=%llx)",
+ (unsigned long long) get_location ());
}
/* Dump this event to stderr (for debugging/logging purposes). */
@@ -281,8 +281,9 @@ checker_path::inject_any_inlined_call_events (logger *logger)
logger->log_partial (" %qE", iter.get_block ());
if (!flag_dump_noaddr)
logger->log_partial (" (%p)", iter.get_block ());
- logger->log_partial (", fndecl: %qE, callsite: 0x%x",
- iter.get_fndecl (), iter.get_callsite ());
+ logger->log_partial (", fndecl: %qE, callsite: 0x%llx",
+ iter.get_fndecl (),
+ (unsigned long long) iter.get_callsite ());
if (iter.get_callsite ())
dump_location (logger->get_printer (), iter.get_callsite ());
logger->end_log_line ();