Skip to content

Commit

Permalink
fix(symbolize): use correct format specifier (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud authored Jan 9, 2024
1 parent ec455f2 commit 2293c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ static ATTRIBUTE_NOINLINE bool SymbolizeAndDemangle(void* pc, char* out,
const std::size_t suffixlen = fnlen + extralen + fnlen + digits;

if (suffixlen < out_size) {
out_size -= std::snprintf(out + namelen, out_size, " (%s:%u)",
out_size -= std::snprintf(out + namelen, out_size, " (%s:%lu)",
line.FileName, line.LineNumber);
}
}
Expand Down

0 comments on commit 2293c6f

Please sign in to comment.