From b909bca0bae02df26b08bdd84fdfb49799cecdec Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 11 May 2026 11:10:18 +0200 Subject: [PATCH] Core/CrashHandler: Fix formatting single `char` variables --- src/common/Debugging/Windows/WheatyExceptionReport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Debugging/Windows/WheatyExceptionReport.cpp b/src/common/Debugging/Windows/WheatyExceptionReport.cpp index 116dc33cf2..51b7135561 100644 --- a/src/common/Debugging/Windows/WheatyExceptionReport.cpp +++ b/src/common/Debugging/Windows/WheatyExceptionReport.cpp @@ -1410,7 +1410,7 @@ EnumerateSymbolsCallbackContext* pCtx) m_symbolDetails.top().Name = pSym->Name; char buffer[50]; - FormatOutputValue(buffer, basicType, pSym->Size, (PVOID)pVariable, sizeof(buffer)); + FormatOutputValue(buffer, basicType, pSym->Size, (PVOID)pVariable, sizeof(buffer), 1); m_symbolDetails.top().Value = buffer; } @@ -1756,7 +1756,7 @@ bool logChildren) SymGetTypeInfo(m_process, modBase, typeId, TI_GET_LENGTH, &length); char buffer[50]; - FormatOutputValue(buffer, basicType, length, (PVOID)dwFinalOffset, sizeof(buffer)); + FormatOutputValue(buffer, basicType, length, (PVOID)dwFinalOffset, sizeof(buffer), 1); m_symbolDetails.top().Value = buffer; }