diff --git a/src/cpptrace.cpp b/src/cpptrace.cpp index b104ff4..85e8ed4 100644 --- a/src/cpptrace.cpp +++ b/src/cpptrace.cpp @@ -108,7 +108,7 @@ namespace cpptrace { if(is_inline) { str += microfmt::format("{<{}}", 2 * sizeof(frame_ptr) + 2, "(inlined)"); } else { - str += microfmt::format("0x{<{}:0h}", 2 * sizeof(frame_ptr), raw_address); + str += microfmt::format("0x{>{}:0h}", 2 * sizeof(frame_ptr), raw_address); } if(!symbol.empty()) { str += microfmt::format(" in {}", symbol); @@ -166,7 +166,7 @@ namespace cpptrace { if(frame.is_inline) { line += microfmt::format("{<{}}", 2 * sizeof(frame_ptr) + 2, "(inlined)"); } else { - line += microfmt::format("{}0x{<{}:0h}{}", blue, 2 * sizeof(frame_ptr), frame.raw_address, reset); + line += microfmt::format("{}0x{>{}:0h}{}", blue, 2 * sizeof(frame_ptr), frame.object_address, reset); } if(!frame.symbol.empty()) { line += microfmt::format(" in {}{}{}", yellow, frame.symbol, reset);