summaryrefslogtreecommitdiff
path: root/src/debug/CrashReporter.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-04-17 17:32:07 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-04-17 17:32:07 +0100
commit5cb5b628b82e4212b7ce1ead1eabc6dc974b616d (patch)
tree6cc8e605e59a5526e2a0410059735bff23620ac3 /src/debug/CrashReporter.cpp
parentb0d86a71597d898da5bdc7dae8ca4afeb21a1144 (diff)
crashReporter: fix invalid format string
Diffstat (limited to 'src/debug/CrashReporter.cpp')
-rw-r--r--src/debug/CrashReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp
index e7ffb144..4d6a3c53 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]);