mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Update Diagnostics.cpp (#697)
This commit is contained in:
parent
a429489846
commit
d2b05a1ac5
@ -142,12 +142,12 @@ void CatchUnhandled(int sig) {
|
||||
demangled = demangle(functionName.c_str());
|
||||
|
||||
if (demangled.empty()) {
|
||||
printf("[%02d] %s\n", i, demangled.c_str());
|
||||
printf("[%02zu] %s\n", i, demangled.c_str());
|
||||
} else {
|
||||
printf("[%02d] %s\n", i, functionName.c_str());
|
||||
printf("[%02zu] %s\n", i, functionName.c_str());
|
||||
}
|
||||
} else {
|
||||
printf("[%02d] %s\n", i, functionName.c_str());
|
||||
printf("[%02zu] %s\n", i, functionName.c_str());
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user