Update Diagnostics.cpp (#697)

This commit is contained in:
Daniel Seiler
2022-08-02 15:56:50 +02:00
committed by GitHub
parent a429489846
commit d2b05a1ac5

View File

@@ -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