From d2b05a1ac51f4e11421d92053b476766c4f35d82 Mon Sep 17 00:00:00 2001 From: Daniel Seiler Date: Tue, 2 Aug 2022 15:56:50 +0200 Subject: [PATCH] Update Diagnostics.cpp (#697) --- dCommon/Diagnostics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dCommon/Diagnostics.cpp b/dCommon/Diagnostics.cpp index bfde2d9a..4c2c8beb 100644 --- a/dCommon/Diagnostics.cpp +++ b/dCommon/Diagnostics.cpp @@ -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