crashReporter: fix invalid format string

This commit is contained in:
vaxerski 2023-04-17 17:32:07 +01:00
parent b0d86a7159
commit 5cb5b628b8

View file

@ -111,7 +111,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
#endif
for (size_t i = 0; i < btSize; ++i) {
finalCrashReport += getFormat("\t#%i | %s\n", i, btSymbols[i]);
finalCrashReport += getFormat("\t#%lu | %s\n", i, btSymbols[i]);
#ifdef __clang__
const auto CMD = getFormat("llvm-addr2line -e %s -f 0x%lx", FPATH.c_str(), (uint64_t)bt[i]);