From 5cb5b628b82e4212b7ce1ead1eabc6dc974b616d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:32:07 +0100 Subject: [PATCH] crashReporter: fix invalid format string --- src/debug/CrashReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp index e7ffb144d..4d6a3c535 100644 --- a/src/debug/CrashReporter.cpp +++ b/src/debug/CrashReporter.cpp @@ -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]);