mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 11:05:58 +01:00
crashReporter: fix invalid format string
This commit is contained in:
parent
b0d86a7159
commit
5cb5b628b8
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (size_t i = 0; i < btSize; ++i) {
|
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__
|
#ifdef __clang__
|
||||||
const auto CMD = getFormat("llvm-addr2line -e %s -f 0x%lx", FPATH.c_str(), (uint64_t)bt[i]);
|
const auto CMD = getFormat("llvm-addr2line -e %s -f 0x%lx", FPATH.c_str(), (uint64_t)bt[i]);
|
||||||
|
|
Loading…
Reference in a new issue