Skip to content

Commit

Permalink
fix(symbolize): use correct format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud committed Jan 9, 2024
1 parent ec455f2 commit d4b6af2
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 d4b6af2

Please sign in to comment.