From 58d199db480358aa88a427245f4f4716447fa3f3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 4 Aug 2020 15:42:08 +0200 Subject: Core/Misc: Fix compile errors found with msvc /permissive- (cherry picked from commit b3db50a3b41b2db209327387f59afa1c40532773) --- src/common/Debugging/WheatyExceptionReport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/Debugging/WheatyExceptionReport.cpp') diff --git a/src/common/Debugging/WheatyExceptionReport.cpp b/src/common/Debugging/WheatyExceptionReport.cpp index 28f3cf57ded..a5a23d7eb7d 100644 --- a/src/common/Debugging/WheatyExceptionReport.cpp +++ b/src/common/Debugging/WheatyExceptionReport.cpp @@ -14,7 +14,7 @@ #pragma warning(disable:4311) #include #include -#include +#include #include #define _NO_CVCONST_H #include @@ -613,7 +613,7 @@ PEXCEPTION_POINTERS pExceptionInfo) // Given an exception code, returns a pointer to a static string with a // description of the exception //====================================================================== -LPTSTR WheatyExceptionReport::GetExceptionString(DWORD dwCode) +LPCTSTR WheatyExceptionReport::GetExceptionString(DWORD dwCode) { #define EXCEPTION(x) case EXCEPTION_##x: return _T(#x); @@ -950,7 +950,7 @@ DWORD dwTypeIndex, DWORD_PTR offset, bool & bHandled, char const* Name, -char* /*suffix*/, +char const* /*suffix*/, bool newSymbol, bool logChildren) { -- cgit v1.2.3