From ff2a9dd37a2d2796fa78641b5d21d1a28893ad19 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Fri, 27 Oct 2023 20:55:18 +0300 Subject: [PATCH] Update src/Util/log.cpp Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com> --- src/Util/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/log.cpp b/src/Util/log.cpp index 45407c1f..1487b81b 100644 --- a/src/Util/log.cpp +++ b/src/Util/log.cpp @@ -22,7 +22,7 @@ void flush() { spdlog::details::registry::instance().flush_all(); } #ifdef _WIN64 static LONG WINAPI exception_handler(PEXCEPTION_POINTERS pExp) noexcept { - const unsigned ec = pExp->ExceptionRecord->ExceptionCode; + const u32 ec = pExp->ExceptionRecord->ExceptionCode; switch (ec) { case EXCEPTION_ACCESS_VIOLATION: LOG_CRITICAL_IF(log_file_exceptions,"Exception EXCEPTION_ACCESS_VIOLATION ({}). ", log_hex(ec));